summaryrefslogtreecommitdiff
path: root/src/strife/p_floor.c
diff options
context:
space:
mode:
authorSimon Howard2014-10-01 23:58:25 -0400
committerSimon Howard2014-10-01 23:58:25 -0400
commita43186b2beaab5fda826fe846d252fa6186d835a (patch)
treef1f8f8407e5bab90c059a45992747d45e32df43e /src/strife/p_floor.c
parent0ec3d826f0b0f2b25f8652287f2c1027c8229e34 (diff)
parenta0a4303a99c8dda72cbe3ff00f26157c2a639fcd (diff)
downloadchocolate-doom-a43186b2beaab5fda826fe846d252fa6186d835a.tar.gz
chocolate-doom-a43186b2beaab5fda826fe846d252fa6186d835a.tar.bz2
chocolate-doom-a43186b2beaab5fda826fe846d252fa6186d835a.zip
Merge branch 'master' of github.com:chocolate-doom/chocolate-doom
Diffstat (limited to 'src/strife/p_floor.c')
-rw-r--r--src/strife/p_floor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/strife/p_floor.c b/src/strife/p_floor.c
index 75f9cbd9..9b89168e 100644
--- a/src/strife/p_floor.c
+++ b/src/strife/p_floor.c
@@ -522,9 +522,10 @@ EV_BuildStairs
rtn = 1;
floor = Z_Malloc (sizeof(*floor), PU_LEVSPEC, 0);
P_AddThinker (&floor->thinker);
+ sec->tag = 0; // haleyjd 20140919: [STRIFE] clears tag of first stair sector
sec->specialdata = floor;
floor->thinker.function.acp1 = (actionf_p1) T_MoveFloor;
- floor->direction = 1;
+ floor->direction = direction; // haleyjd 20140919: bug fix: direction, not "1"
floor->sector = sec;
floor->speed = speed;
height = sec->floorheight + stairsize;