Fix noclip in Duke3d

git-svn-id: https://svn.eduke32.com/eduke32@8368 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-12-07 23:50:04 +00:00 committed by Christoph Oelckers
parent 441b0460aa
commit cf0a74a888
1 changed files with 3 additions and 1 deletions

View File

@ -4891,6 +4891,8 @@ void P_ProcessInput(int playerNum)
pPlayer->oq16ang = pPlayer->q16ang;
updatesector(pPlayer->pos.x, pPlayer->pos.y, &pPlayer->cursectnum);
if (!ud.noclip)
pushmove(&pPlayer->pos, &pPlayer->cursectnum, pPlayer->clipdist - 1, (4L<<8), stepHeight, CLIPMASK0);
if (pPlayer->one_eighty_count < 0)