aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
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/avalanche
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/avalanche')
-rw-r--r--engines/avalanche/avalot.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp
index 0ffe7d3f9d..85cdd9a874 100644
--- a/engines/avalanche/avalot.cpp
+++ b/engines/avalanche/avalot.cpp
@@ -161,10 +161,11 @@ void AvalancheEngine::handleKeyDown(Common::Event &event) {
case Common::KEYCODE_END:
case Common::KEYCODE_KP5:
if (_alive && _avvyIsAwake) {
- _animation->handleMoveKey(event); // Fallthroughs are intended.
+ _animation->handleMoveKey(event);
drawDirection();
return;
}
+ // fall through
case Common::KEYCODE_BACKSPACE:
_parser->handleBackspace();
break;