aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-06-08 07:52:21 +0200
committeruruk2014-06-08 07:52:21 +0200
commitcfe03245fae13dff869ea6f8c934fb510161e431 (patch)
tree1b7b4050445cd48182fa0b736944d3e9ed3da735
parent5fca8c328ca49e3de7b3d9e4dc03293dab504e89 (diff)
downloadscummvm-rg350-cfe03245fae13dff869ea6f8c934fb510161e431.tar.gz
scummvm-rg350-cfe03245fae13dff869ea6f8c934fb510161e431.tar.bz2
scummvm-rg350-cfe03245fae13dff869ea6f8c934fb510161e431.zip
CGE2: Handle kCmdNop correctly.
-rw-r--r--engines/cge2/snail.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp
index 1368652e3b..d41aa80aa7 100644
--- a/engines/cge2/snail.cpp
+++ b/engines/cge2/snail.cpp
@@ -309,6 +309,8 @@ void CommandHandler::runCommand() {
case kCmdGhost:
_vm->snGhost((Bitmap *)tailCmd._spritePtr);
break;
+ case kCmdNop: // Do nothing.
+ break;
default:
warning("Unhandled command");
break;