aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/anna.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/lastexpress/entities/anna.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/lastexpress/entities/anna.cpp')
-rw-r--r--engines/lastexpress/entities/anna.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/lastexpress/entities/anna.cpp b/engines/lastexpress/entities/anna.cpp
index 3354964af2..52e975086a 100644
--- a/engines/lastexpress/entities/anna.cpp
+++ b/engines/lastexpress/entities/anna.cpp
@@ -385,7 +385,7 @@ IMPLEMENT_FUNCTION(12, Anna, practiceMusic)
setup_playSound("MAX1120");
break;
}
- // Fallback to next case
+ // fall through
case 4:
--params->param1;
@@ -452,7 +452,7 @@ IMPLEMENT_FUNCTION_IS(15, Anna, compartmentLogic, TimeValue)
setup_playSound("LIB013");
break;
}
- // Fallback to next action
+ // fall through
case kActionKnock:
if (params->param5) {
@@ -510,7 +510,7 @@ IMPLEMENT_FUNCTION_IS(15, Anna, compartmentLogic, TimeValue)
setup_playSound("MAX1120");
break;
}
- // Fallback to next case
+ // fall through
case 2:
getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorHandKnock, kCursorHand);
@@ -1467,7 +1467,7 @@ label_callback_1:
setup_playSound("MAX1120");
break;
}
- // Fallback to next case
+ // fall through
case 4:
getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorHandKnock, kCursorHand);
@@ -1857,7 +1857,7 @@ IMPLEMENT_FUNCTION(41, Anna, goBackToSleep)
setup_playSound("MAX1120");
break;
}
- // Fallback to next case
+ // fall through
case 3:
getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorHandKnock, kCursorHand);
@@ -2431,7 +2431,7 @@ IMPLEMENT_FUNCTION(53, Anna, dressing)
setup_playSound("LIB013");
break;
}
- // Fallback to next case
+ // fall through
case kActionKnock:
getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorNormal, kCursorNormal);
@@ -2495,7 +2495,7 @@ IMPLEMENT_FUNCTION(53, Anna, dressing)
setup_playSound("MAX1120");
break;
}
- // Fallback to next case
+ // fall through
case 2:
getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorHandKnock, kCursorHand);
@@ -2579,7 +2579,7 @@ IMPLEMENT_FUNCTION(54, Anna, giveMaxToConductor2)
setup_playSound("LIB013");
break;
}
- // Fallback to next case
+ // fall through
case kActionKnock:
getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorNormal, kCursorNormal);
@@ -2636,7 +2636,7 @@ IMPLEMENT_FUNCTION(54, Anna, giveMaxToConductor2)
setup_playSound("MAX1120");
break;
}
- // Fallback to next case
+ // fall through
case 2:
getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorHandKnock, kCursorHand);