From 065cf1394586b9a206cdc2fa2da62e7baa1700bb Mon Sep 17 00:00:00 2001 From: nukeykt Date: Wed, 24 Jul 2019 01:09:21 +0900 Subject: [PATCH] Fix in CanMove --- source/blood/src/ai.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/blood/src/ai.cpp b/source/blood/src/ai.cpp index edb9b28fb..6211254da 100644 --- a/source/blood/src/ai.cpp +++ b/source/blood/src/ai.cpp @@ -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;