mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +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)
|
||||
return false;
|
||||
break;
|
||||
case 203:
|
||||
case 210:
|
||||
case 217:
|
||||
case kGDXDudeUniversalCultist:
|
||||
case kGDXGenDudeBurning:
|
||||
if ((Crusher && !dudeIsImmune(pSprite, pXSector->damageType)) || xsprite[pSprite->extra].dudeGuard) return false;
|
||||
return true;
|
||||
fallthrough__;
|
||||
case 203:
|
||||
case 210:
|
||||
case 217:
|
||||
default:
|
||||
if (Crusher)
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue