diff options
author | Simon Howard | 2007-06-22 11:55:14 +0000 |
---|---|---|
committer | Simon Howard | 2007-06-22 11:55:14 +0000 |
commit | c1cfa2e0914fe451d5fd147beadfcec922878684 (patch) | |
tree | c45d57c03efaade0b58e548478d7d7ba56cf6c07 /src/p_doors.c | |
parent | d8ecb804f3659a04ad4203b4b11fef30b274b9d5 (diff) | |
download | chocolate-doom-c1cfa2e0914fe451d5fd147beadfcec922878684.tar.gz chocolate-doom-c1cfa2e0914fe451d5fd147beadfcec922878684.tar.bz2 chocolate-doom-c1cfa2e0914fe451d5fd147beadfcec922878684.zip |
Replace 35 with TICRATE where appropriate.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 925
Diffstat (limited to 'src/p_doors.c')
-rw-r--r-- | src/p_doors.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |