- separation of static and map-local event handlers into separate lists.
Having everything lumped together made this a maintenance hassle because it affected how the level has to be stored. This hasn't been tested yet, so it may not work as intended!
This commit is contained in:
parent
d005e0b483
commit
66eb4e5048
29 changed files with 240 additions and 242 deletions
|
|
@ -3393,7 +3393,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_WolfAttack)
|
|||
|| (self->target->flags2 & (MF2_INVULNERABLE|MF2_DORMANT)));
|
||||
if (flags & WAF_USEPUFF && pufftype)
|
||||
{
|
||||
AActor *dpuff = GetDefaultByType(pufftype->GetReplacement());
|
||||
AActor *dpuff = GetDefaultByType(pufftype->GetReplacement(self->Level));
|
||||
mod = dpuff->DamageType;
|
||||
|
||||
if (dpuff->flags2 & MF2_THRUGHOST && self->target->flags3 & MF3_GHOST)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue