From 24cccc7029e2dc6d07d483ee5a8d467d733000ef Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 20 Sep 2008 23:23:20 +0000 Subject: Harmonise heretic code on TICRATE and use definition in i_timer.h. Subversion-branch: /branches/raven-branch Subversion-revision: 1262 --- src/heretic/p_inter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/heretic/p_inter.c') diff --git a/src/heretic/p_inter.c b/src/heretic/p_inter.c index 20ab5013..25ac3808 100644 --- a/src/heretic/p_inter.c +++ b/src/heretic/p_inter.c @@ -25,6 +25,7 @@ #include "doomdef.h" #include "i_system.h" +#include "i_timer.h" #include "m_random.h" #include "p_local.h" #include "s_sound.h" @@ -1036,7 +1037,7 @@ boolean P_ChickenMorphPlayer(player_t * player) if (player->chickenTics) { - if ((player->chickenTics < CHICKENTICS - TICSPERSEC) + if ((player->chickenTics < CHICKENTICS - TICRATE) && !player->powers[pw_weaponlevel2]) { // Make a super chicken P_GivePower(player, pw_weaponlevel2); -- cgit v1.2.3