4.10 support update (unfinished and untested).

This commit is contained in:
Mari the Deer 2022-12-05 02:10:56 +01:00
commit 8e952f412f
80 changed files with 2343 additions and 2356 deletions

View file

@ -166,10 +166,10 @@ Class SWWMDamageAccumulator : Inventory
// make sure accumulation isn't reentrant
if ( inflictor && (inflictor is 'EvisceratorChunk') ) inflictor.bAMBUSH = true;
// 何?
for ( int i=0; i<amounts.Size(); i++ )
foreach ( dmg:amounts )
{
if ( !Owner ) break;
Owner.DamageMobj(inflictor,source,amounts[i],type,DMG_THRUSTLESS|flags);
Owner.DamageMobj(inflictor,source,dmg,type,DMG_THRUSTLESS|flags);
}
// clean up
if ( inflictor )