Fix in CanMove

This commit is contained in:
nukeykt 2019-07-24 01:09:21 +09:00 committed by Christoph Oelckers
parent a90711f328
commit 065cf13945

View file

@ -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;