4.10 support update (unfinished and untested).
This commit is contained in:
parent
eb624f15e3
commit
8e952f412f
80 changed files with 2343 additions and 2356 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue