From 1dda8027abb2b85db865fb24ae5ac26b619710eb Mon Sep 17 00:00:00 2001 From: sirlemonhead Date: Wed, 2 Oct 2019 02:07:45 +0100 Subject: [PATCH] Fix Sector effect Lotag 24 not working. Fixes issue #5 --- source/exhumed/src/runlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/exhumed/src/runlist.cpp b/source/exhumed/src/runlist.cpp index dc13ddaed..4d17303c1 100644 --- a/source/exhumed/src/runlist.cpp +++ b/source/exhumed/src/runlist.cpp @@ -893,7 +893,7 @@ void runlist_ProcessSectorTag(int nSector, int lotag, int hitag) short nextSector = nextsectorneighborz(nSector, sector[nSector].ceilingz, -1, -1); assert(nextSector > -1); - int nElev = BuildElevC(0, nChannel, nSector, FindWallSprites(nSector), var_18 * 100, var_18 * 100, 2, sector[nSector].floorz, sector[nextSector].floorz); + int nElev = BuildElevC(0, nChannel, nSector, FindWallSprites(nSector), var_18 * 100, var_18 * 100, 2, sector[nSector].floorz, sector[nextSector].ceilingz); runlist_AddRunRec(sRunChannels[nChannel].a, nElev);