summaryrefslogtreecommitdiff
path: root/src/p_plats.c
diff options
context:
space:
mode:
authorSimon Howard2007-06-22 11:55:14 +0000
committerSimon Howard2007-06-22 11:55:14 +0000
commitc1cfa2e0914fe451d5fd147beadfcec922878684 (patch)
treec45d57c03efaade0b58e548478d7d7ba56cf6c07 /src/p_plats.c
parentd8ecb804f3659a04ad4203b4b11fef30b274b9d5 (diff)
downloadchocolate-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_plats.c')
-rw-r--r--src/p_plats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/p_plats.c b/src/p_plats.c
index d0919a0c..03d1acbc 100644
--- a/src/p_plats.c
+++ b/src/p_plats.c
@@ -210,7 +210,7 @@ EV_DoPlat
plat->low = sec->floorheight;
plat->high = sec->floorheight;
- plat->wait = 35*PLATWAIT;
+ plat->wait = TICRATE*PLATWAIT;
plat->status = down;
S_StartSound(&sec->soundorg,sfx_pstart);
break;
@@ -223,7 +223,7 @@ EV_DoPlat
plat->low = sec->floorheight;
plat->high = sec->floorheight;
- plat->wait = 35*PLATWAIT;
+ plat->wait = TICRATE*PLATWAIT;
plat->status = down;
S_StartSound(&sec->soundorg,sfx_pstart);
break;
@@ -240,7 +240,7 @@ EV_DoPlat
if (plat->high < sec->floorheight)
plat->high = sec->floorheight;
- plat->wait = 35*PLATWAIT;
+ plat->wait = TICRATE*PLATWAIT;
plat->status = P_Random()&1;
S_StartSound(&sec->soundorg,sfx_pstart);