From 556d2ccd834aefc330f9f9a1650b5e0230ad47f3 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 9 Apr 2019 19:21:17 +0000 Subject: [PATCH] Fix TROR wall blocking issue git-svn-id: https://svn.eduke32.com/eduke32@7545 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/player.cpp b/source/duke3d/src/player.cpp index e6443bda5..78aaf5889 100644 --- a/source/duke3d/src/player.cpp +++ b/source/duke3d/src/player.cpp @@ -5366,7 +5366,7 @@ HORIZONLY:; || (ceilingBunch >= 0 && !(sector[playerSectNum].ceilingstat & 512)))) { pPlayer->cursectnum += MAXSECTORS; // skip initial z check, restored by updatesectorz - updatesector(pPlayer->pos.x, pPlayer->pos.y, &pPlayer->cursectnum); + updatesectorz(pPlayer->pos.x, pPlayer->pos.y, pPlayer->pos.z, &pPlayer->cursectnum); } #endif