aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/scripts.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2017-08-06 13:30:51 +0200
committerTorbjörn Andersson2017-08-06 13:30:51 +0200
commit70a2ca8b7d64e993fdab89c7b8b0d30ab4334824 (patch)
tree2e0686f9a69dc65cf8f2aeb801ccae8f2352b635 /engines/xeen/scripts.cpp
parent38a8015b830f8cec32f07bb9262d47cf096644e5 (diff)
downloadscummvm-rg350-70a2ca8b7d64e993fdab89c7b8b0d30ab4334824.tar.gz
scummvm-rg350-70a2ca8b7d64e993fdab89c7b8b0d30ab4334824.tar.bz2
scummvm-rg350-70a2ca8b7d64e993fdab89c7b8b0d30ab4334824.zip
JANITORIAL: Silence more GCC 7 warnings
All these fall through were marked as deliberate, so again I've only changed the comment to silence GCC.
Diffstat (limited to 'engines/xeen/scripts.cpp')
-rw-r--r--engines/xeen/scripts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 4e0363120c..daead8ce89 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -666,14 +666,14 @@ void Scripts::cmdTakeOrGive(Common::Array<byte> &params) {
switch (mode1) {
case 8:
mode1 = 0;
- // Deliberate fall-through
+ // fall through
case 21:
case 66:
if (param2) {
switch (mode2) {
case 82:
mode1 = 0;
- // Deliberate fall-through
+ // fall through
case 21:
case 34:
case 35:
@@ -711,7 +711,7 @@ void Scripts::cmdTakeOrGive(Common::Array<byte> &params) {
switch (mode2) {
case 82:
mode1 = 0;
- // Deliberate fall-through
+ // fall through
case 21:
case 34:
case 35: