aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/champion.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2017-08-06 12:26:05 +0200
committerTorbjörn Andersson2017-08-06 12:26:05 +0200
commit462f1c98597589a3baf241ab2c1bb4dba991374e (patch)
tree094b7334aeba672f80547cd6689c6c49e501d94c /engines/dm/champion.cpp
parent4fb0d1e56f83ac7d5edd06b6d5a2e8019bbddf37 (diff)
downloadscummvm-rg350-462f1c98597589a3baf241ab2c1bb4dba991374e.tar.gz
scummvm-rg350-462f1c98597589a3baf241ab2c1bb4dba991374e.tar.bz2
scummvm-rg350-462f1c98597589a3baf241ab2c1bb4dba991374e.zip
JANITORIAL: Silence more GCC 7 warnings
There were all flagged as intentional fall throughs. I simply changed the comments to something GCC would recognize.
Diffstat (limited to 'engines/dm/champion.cpp')
-rw-r--r--engines/dm/champion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dm/champion.cpp b/engines/dm/champion.cpp
index 374f211ace..646e7cec8d 100644
--- a/engines/dm/champion.cpp
+++ b/engines/dm/champion.cpp
@@ -729,7 +729,7 @@ Thing ChampionMan::getObjectRemovedFromSlot(uint16 champIndex, uint16 slotIndex)
switch (curIconIndex) {
case kDMIconIndiceContainerChestClosed:
inventory.closeChest();
- // No break on purpose
+ // fall through
case kDMIconIndiceScrollOpen:
case kDMIconIndiceScrollClosed:
setFlag(curChampion->_attributes, kDMAttributePanel);