Blood: change fallthrough annotations to fix clang build

Remove some fallthrough annotations so clang does not fatally error:

source/blood/src/aiunicult.cpp:1983:13: error: fallthrough annotation does not
      directly precede switch label

source/blood/src/triggers.cpp:1045:33: error: fallthrough annotation does not
      directly precede switch label

# Conflicts:
#	source/blood/src/aiunicult.cpp
#	source/blood/src/triggers.cpp
This commit is contained in:
Jonathan Gray 2020-01-18 21:18:08 +11:00 committed by Christoph Oelckers
parent 454f796b69
commit c7ffed4867
2 changed files with 0 additions and 2 deletions

View file

@ -1987,7 +1987,6 @@ bool genDudePrepare(spritetype* pSprite, int propId) {
pSprite->clipdist = ClipRange((pSprite->xrepeat + pSprite->yrepeat) >> 1, 4, 120); pSprite->clipdist = ClipRange((pSprite->xrepeat + pSprite->yrepeat) >> 1, 4, 120);
if (propId) break; if (propId) break;
break;
} }
} }

View file

@ -1045,7 +1045,6 @@ void OperateSprite(int nSprite, XSPRITE *pXSprite, EVENT event)
case 4: case 4:
for (int i = 0; i < 8; i++) pPlayer->hasKey[i] = false; for (int i = 0; i < 8; i++) pPlayer->hasKey[i] = false;
if (pXSprite->data2) break; if (pXSprite->data2) break;
break;
} }
break; break;