From 2c75e2cac9211f8db128240c5856a1ad5a3383a0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 9 May 2022 00:07:17 +0200 Subject: [PATCH] - fixed Hexen stair builder To work as intended the first sector must also have its validcount set. --- src/playsim/mapthinkers/a_floor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/playsim/mapthinkers/a_floor.cpp b/src/playsim/mapthinkers/a_floor.cpp index 21eccaa4dc..ce2ba59603 100644 --- a/src/playsim/mapthinkers/a_floor.cpp +++ b/src/playsim/mapthinkers/a_floor.cpp @@ -663,6 +663,7 @@ bool FLevelLocals::EV_BuildStairs (int tag, DFloor::EStair type, line_t *line, d // 2. Other side is the next sector to raise // 3. Unless already moving, or different texture, then stop building validcount++; + sec->validcount = validcount; do { ok = 0;