mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Fix player bouncing on sprite bridges
This commit is contained in:
parent
ed81a1c3fe
commit
d7b9af8b89
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ int movespritez(short nSprite, int z, int height, int flordist, int clipdist)
|
|||
// Path A
|
||||
short nFloorSprite = lohit & 0x3FFF;
|
||||
|
||||
if (pSprite->statnum == 100 && sprite[nFloorSprite].statnum != 0 || sprite[nFloorSprite].statnum < 100)
|
||||
if (pSprite->statnum == 100 && sprite[nFloorSprite].statnum != 0 && sprite[nFloorSprite].statnum < 100)
|
||||
{
|
||||
short nDamage = (z >> 9);
|
||||
if (nDamage)
|
||||
|
|
Loading…
Reference in a new issue