Fix Sector effect Lotag 24 not working. Fixes issue #5

This commit is contained in:
sirlemonhead 2019-10-02 02:07:45 +01:00 committed by Christoph Oelckers
parent 0f383cbe5c
commit 1dda8027ab

View file

@ -893,7 +893,7 @@ void runlist_ProcessSectorTag(int nSector, int lotag, int hitag)
short nextSector = nextsectorneighborz(nSector, sector[nSector].ceilingz, -1, -1); short nextSector = nextsectorneighborz(nSector, sector[nSector].ceilingz, -1, -1);
assert(nextSector > -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); runlist_AddRunRec(sRunChannels[nChannel].a, nElev);