mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
fix for underwater ceiling issue
git-svn-id: https://svn.eduke32.com/eduke32@1607 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
da1bdf711c
commit
3a48576bfb
1 changed files with 2 additions and 2 deletions
|
@ -4355,9 +4355,9 @@ void P_ProcessInput(int32_t snum)
|
|||
if (p->posz > (fz-(15<<8)))
|
||||
p->posz += ((fz-(15<<8))-p->posz)>>1;
|
||||
|
||||
if ((psectlotag != 2 || cz != sector[p->cursectnum].ceilingz) && p->posz < (cz+(4<<8)))
|
||||
if (p->posz < cz)
|
||||
{
|
||||
p->posz = cz+(4<<8);
|
||||
p->posz = cz;
|
||||
p->poszv = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue