mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix for emerging from TROR water
git-svn-id: https://svn.eduke32.com/eduke32@7848 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e0e517aaed
commit
ae36202ac7
1 changed files with 1 additions and 1 deletions
|
@ -3403,7 +3403,7 @@ static int P_Submerge(int const playerNum, DukePlayer_t * const pPlayer, int con
|
||||||
static int P_Emerge(int const playerNum, DukePlayer_t * const pPlayer, int const sectNum, int const otherSect)
|
static int P_Emerge(int const playerNum, DukePlayer_t * const pPlayer, int const sectNum, int const otherSect)
|
||||||
{
|
{
|
||||||
// r1449-:
|
// r1449-:
|
||||||
if (pPlayer->pos.z < (sector[sectNum].ceilingz+1080) && pPlayer->vel.z == 0)
|
if (pPlayer->pos.z < (sector[sectNum].ceilingz+1080) && pPlayer->vel.z <= 0)
|
||||||
// r1450+, breaks submergible slime in bobsp2:
|
// r1450+, breaks submergible slime in bobsp2:
|
||||||
// if (onfloorz && sectlotag == 2 && ps->pos.z <= sector[sect].ceilingz /*&& ps->vel.z == 0*/)
|
// if (onfloorz && sectlotag == 2 && ps->pos.z <= sector[sect].ceilingz /*&& ps->vel.z == 0*/)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue