mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-13 07:58:04 +00:00
Was checking something out for a mapper and noticed this block of code should be nested deeper.
git-svn-id: https://svn.eduke32.com/eduke32@7222 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
592ee52d2b
commit
279bdca726
1 changed files with 6 additions and 6 deletions
|
@ -3534,7 +3534,6 @@ ACTOR_STATIC void G_MoveTransports(void)
|
||||||
doWater = P_Submerge(sectSprite, playerNum, pPlayer, sectNum, sprite[OW(spriteNum)].sectnum);
|
doWater = P_Submerge(sectSprite, playerNum, pPlayer, sectNum, sprite[OW(spriteNum)].sectnum);
|
||||||
else if (sectLotag == ST_2_UNDERWATER)
|
else if (sectLotag == ST_2_UNDERWATER)
|
||||||
doWater = P_Emerge(sectSprite, playerNum, pPlayer, sectNum, sprite[OW(spriteNum)].sectnum);
|
doWater = P_Emerge(sectSprite, playerNum, pPlayer, sectNum, sprite[OW(spriteNum)].sectnum);
|
||||||
}
|
|
||||||
|
|
||||||
if (doWater == 1)
|
if (doWater == 1)
|
||||||
{
|
{
|
||||||
|
@ -3544,6 +3543,7 @@ ACTOR_STATIC void G_MoveTransports(void)
|
||||||
P_FinishWaterChange(sectSprite, pPlayer, sectLotag, OW(spriteNum), sprite[OW(spriteNum)].sectnum);
|
P_FinishWaterChange(sectSprite, pPlayer, sectLotag, OW(spriteNum), sprite[OW(spriteNum)].sectnum);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (!(sectLotag == ST_1_ABOVE_WATER && pPlayer->on_ground == 1))
|
else if (!(sectLotag == ST_1_ABOVE_WATER && pPlayer->on_ground == 1))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue