Fix TROR wall blocking issue

git-svn-id: https://svn.eduke32.com/eduke32@7545 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-04-09 19:21:17 +00:00 committed by Christoph Oelckers
parent 52ccd82c17
commit 556d2ccd83

View file

@ -5366,7 +5366,7 @@ HORIZONLY:;
|| (ceilingBunch >= 0 && !(sector[playerSectNum].ceilingstat & 512)))) || (ceilingBunch >= 0 && !(sector[playerSectNum].ceilingstat & 512))))
{ {
pPlayer->cursectnum += MAXSECTORS; // skip initial z check, restored by updatesectorz 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 #endif