diff options
Diffstat (limited to 'src/heretic/p_enemy.c')
-rw-r--r-- | src/heretic/p_enemy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/heretic/p_enemy.c b/src/heretic/p_enemy.c index 188f7c30..3f752195 100644 --- a/src/heretic/p_enemy.c +++ b/src/heretic/p_enemy.c @@ -26,6 +26,7 @@ #include <stdlib.h> #include "doomdef.h" #include "i_system.h" +#include "i_timer.h" #include "m_random.h" #include "p_local.h" #include "s_sound.h" @@ -1859,7 +1860,7 @@ void A_HeadAttack(mobj_t * actor) mo->z -= 32 * FRACUNIT; mo->special1 = (int) target; mo->special2 = 50; // Timer for active sound - mo->health = 20 * TICSPERSEC; // Duration + mo->health = 20 * TICRATE; // Duration S_StartSound(actor, sfx_hedat3); } } |