aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-06-28 19:53:05 +0200
committeruruk2014-06-28 19:53:05 +0200
commit69c8871c3f6fda7baca65f6c389a35c58943f21e (patch)
treeec4019ee9c2ac1da522d92aafc43cb67745417b3
parent6f2e4a76cc590652145daec12174136eb8f5d0a8 (diff)
downloadscummvm-rg350-69c8871c3f6fda7baca65f6c389a35c58943f21e.tar.gz
scummvm-rg350-69c8871c3f6fda7baca65f6c389a35c58943f21e.tar.bz2
scummvm-rg350-69c8871c3f6fda7baca65f6c389a35c58943f21e.zip
CGE2: Silence GCC warning in Hero::tick().
-rw-r--r--engines/cge2/hero.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cge2/hero.cpp b/engines/cge2/hero.cpp
index d1caf1f43e..dfc0e4b351 100644
--- a/engines/cge2/hero.cpp
+++ b/engines/cge2/hero.cpp
@@ -301,6 +301,8 @@ void Hero::tick() {
if (_pos2D.x >= kScrWidth - 1 - d)
park();
break;
+ default:
+ break;
}
if (_flags._trim)
gotoxyz_(_pos2D);