mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
Fix in CanMove
This commit is contained in:
parent
a90711f328
commit
065cf13945
1 changed files with 4 additions and 3 deletions
|
@ -231,13 +231,14 @@ bool CanMove(spritetype *pSprite, int a2, int nAngle, int nRange)
|
||||||
if (floorZ - bottom > 0x2000)
|
if (floorZ - bottom > 0x2000)
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
case 203:
|
|
||||||
case 210:
|
|
||||||
case 217:
|
|
||||||
case kGDXDudeUniversalCultist:
|
case kGDXDudeUniversalCultist:
|
||||||
case kGDXGenDudeBurning:
|
case kGDXGenDudeBurning:
|
||||||
if ((Crusher && !dudeIsImmune(pSprite, pXSector->damageType)) || xsprite[pSprite->extra].dudeGuard) return false;
|
if ((Crusher && !dudeIsImmune(pSprite, pXSector->damageType)) || xsprite[pSprite->extra].dudeGuard) return false;
|
||||||
return true;
|
return true;
|
||||||
|
fallthrough__;
|
||||||
|
case 203:
|
||||||
|
case 210:
|
||||||
|
case 217:
|
||||||
default:
|
default:
|
||||||
if (Crusher)
|
if (Crusher)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue