mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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
1 changed files with 3 additions and 1 deletions
|
@ -4891,7 +4891,9 @@ void P_ProcessInput(int playerNum)
|
|||
pPlayer->oq16ang = pPlayer->q16ang;
|
||||
|
||||
updatesector(pPlayer->pos.x, pPlayer->pos.y, &pPlayer->cursectnum);
|
||||
pushmove(&pPlayer->pos, &pPlayer->cursectnum, pPlayer->clipdist - 1, (4L<<8), stepHeight, CLIPMASK0);
|
||||
|
||||
if (!ud.noclip)
|
||||
pushmove(&pPlayer->pos, &pPlayer->cursectnum, pPlayer->clipdist - 1, (4L<<8), stepHeight, CLIPMASK0);
|
||||
|
||||
if (pPlayer->one_eighty_count < 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue