mirror of https://github.com/ZDoom/raze-gles.git
Fix noclip in Duke3d
git-svn-id: https://svn.eduke32.com/eduke32@8368 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
441b0460aa
commit
cf0a74a888
|
@ -4891,6 +4891,8 @@ void P_ProcessInput(int playerNum)
|
||||||
pPlayer->oq16ang = pPlayer->q16ang;
|
pPlayer->oq16ang = pPlayer->q16ang;
|
||||||
|
|
||||||
updatesector(pPlayer->pos.x, pPlayer->pos.y, &pPlayer->cursectnum);
|
updatesector(pPlayer->pos.x, pPlayer->pos.y, &pPlayer->cursectnum);
|
||||||
|
|
||||||
|
if (!ud.noclip)
|
||||||
pushmove(&pPlayer->pos, &pPlayer->cursectnum, pPlayer->clipdist - 1, (4L<<8), stepHeight, CLIPMASK0);
|
pushmove(&pPlayer->pos, &pPlayer->cursectnum, pPlayer->clipdist - 1, (4L<<8), stepHeight, CLIPMASK0);
|
||||||
|
|
||||||
if (pPlayer->one_eighty_count < 0)
|
if (pPlayer->one_eighty_count < 0)
|
||||||
|
|
Loading…
Reference in New Issue