From c1cfa2e0914fe451d5fd147beadfcec922878684 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 22 Jun 2007 11:55:14 +0000 Subject: Replace 35 with TICRATE where appropriate. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 925 --- src/p_doors.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/p_doors.c') diff --git a/src/p_doors.c b/src/p_doors.c index 10ad600b..b681a8d0 100644 --- a/src/p_doors.c +++ b/src/p_doors.c @@ -138,7 +138,7 @@ void T_VerticalDoor (vldoor_t* door) case close30ThenOpen: door->direction = 0; - door->topcountdown = 35*30; + door->topcountdown = TICRATE*30; break; default: @@ -509,7 +509,7 @@ void P_SpawnDoorCloseIn30 (sector_t* sec) door->direction = 0; door->type = normal; door->speed = VDOORSPEED; - door->topcountdown = 30 * 35; + door->topcountdown = 30 * TICRATE; } // @@ -537,7 +537,7 @@ P_SpawnDoorRaiseIn5Mins door->topheight = P_FindLowestCeilingSurrounding(sec); door->topheight -= 4*FRACUNIT; door->topwait = VDOORWAIT; - door->topcountdown = 5 * 60 * 35; + door->topcountdown = 5 * 60 * TICRATE; } -- cgit v1.2.3