mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix typos in r6244.
git-svn-id: https://svn.eduke32.com/eduke32@6604 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4978a8f167
commit
a2f5891064
1 changed files with 3 additions and 3 deletions
|
@ -1213,9 +1213,9 @@ ACTOR_STATIC void G_MovePlayers(void)
|
||||||
// NOTE: Compare with G_MoveTransports().
|
// NOTE: Compare with G_MoveTransports().
|
||||||
pPlayer->on_warping_sector = 1;
|
pPlayer->on_warping_sector = 1;
|
||||||
|
|
||||||
if (((sectorLotag == ST_1_ABOVE_WATER) ?
|
if ((sectorLotag == ST_1_ABOVE_WATER ?
|
||||||
P_Submerge(spriteNum, P_GetP(pSprite), pPlayer, playerSectnum, otherSector) :
|
P_Submerge(spriteNum, P_GetP(pSprite), pPlayer, playerSectnum, otherSector) :
|
||||||
P_Emerge(spriteNum, P_GetP(pSprite), pPlayer, playerSectnum, otherSector) == 1))
|
P_Emerge(spriteNum, P_GetP(pSprite), pPlayer, playerSectnum, otherSector)) == 1)
|
||||||
P_FinishWaterChange(spriteNum, pPlayer, sectorLotag, -1, otherSector);
|
P_FinishWaterChange(spriteNum, pPlayer, sectorLotag, -1, otherSector);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -1555,7 +1555,7 @@ ACTOR_STATIC void G_MoveFallers(void)
|
||||||
|
|
||||||
if ((sector[sectNum].floorz-pSprite->z) < ZOFFSET2)
|
if ((sector[sectNum].floorz-pSprite->z) < ZOFFSET2)
|
||||||
{
|
{
|
||||||
for (bssize_t x=0; x<1+(krand()&7); ++x)
|
for (size_t x = 0, x_end = 1+(krand()&7); x < x_end; ++x)
|
||||||
RANDOMSCRAP(pSprite, spriteNum);
|
RANDOMSCRAP(pSprite, spriteNum);
|
||||||
DELETE_SPRITE_AND_CONTINUE(spriteNum);
|
DELETE_SPRITE_AND_CONTINUE(spriteNum);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue