mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
Fix Duke3D underwater movement speed
git-svn-id: https://svn.eduke32.com/eduke32@7449 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b65bfefd0f
commit
ba1dd663dd
1 changed files with 2 additions and 1 deletions
|
@ -5337,7 +5337,8 @@ HORIZONLY:;
|
|||
else if (sectorLotag != ST_2_UNDERWATER && sectorLotag != ST_1_ABOVE_WATER)
|
||||
pPlayer->pyoff = 0;
|
||||
|
||||
pPlayer->pos.z += pPlayer->vel.z;
|
||||
if (sectorLotag != ST_2_UNDERWATER)
|
||||
pPlayer->pos.z += pPlayer->vel.z;
|
||||
|
||||
if ((sectorLotag != ST_2_UNDERWATER || ceilZ != pPlayer->truecz)
|
||||
&& (pPlayer->opos.z < ceilZ + PMINHEIGHT || trueFloorDist < PHEIGHT))
|
||||
|
|
Loading…
Reference in a new issue