mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +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