diff options
Diffstat (limited to 'src/strife/p_enemy.c')
-rw-r--r-- | src/strife/p_enemy.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/strife/p_enemy.c b/src/strife/p_enemy.c index 09567e99..cf610285 100644 --- a/src/strife/p_enemy.c +++ b/src/strife/p_enemy.c @@ -2374,9 +2374,20 @@ void A_RaiseAlarm(mobj_t* actor) } +// +// A_MissileTick +// villsa [STRIFE] - new codepointer +// + void A_MissileTick(mobj_t* actor) { + int r = actor->reactiontime--; + if(r - 1 <= 0) + { + P_ExplodeMissile(actor); + actor->flags &= ~MF_MISSILE; + } } void A_SpawnGrenadeFire(mobj_t* actor) @@ -2464,11 +2475,6 @@ void A_FireMauler2(mobj_t* actor) } -void A_FireGrenade(mobj_t* actor) -{ - -} - void A_FireElectricBolt(mobj_t* actor) { |