mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix Issue #5
Was incorrectly passing floorz instead of ceilingz to BuildElevC()
This commit is contained in:
parent
d4bdf01958
commit
14fc2a76cf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue