aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorStrangerke2014-02-26 08:05:11 +0100
committerStrangerke2014-02-26 08:05:11 +0100
commit63bf41f4175b4fa3e0f87a1b0937ad89e3f490bf (patch)
tree31c8340ed1c393da1ecb676b495708c42931d946 /engines/voyeur
parent54095bd323a755b23cc5de462ba810d4b5f7484b (diff)
downloadscummvm-rg350-63bf41f4175b4fa3e0f87a1b0937ad89e3f490bf.tar.gz
scummvm-rg350-63bf41f4175b4fa3e0f87a1b0937ad89e3f490bf.tar.bz2
scummvm-rg350-63bf41f4175b4fa3e0f87a1b0937ad89e3f490bf.zip
VOYEUR: Add missing break in cardPerform() switch
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/files_threads.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 7261aa2449..0ce1fedcd4 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -66,7 +66,7 @@ void ThreadResource::initThreadStruct(int idx, int id) {
bool ThreadResource::loadAStack(int stackId) {
if (_vm->_stampFlags & 1) {
if (stackId < 0)
- error('loadAStack() - Invalid stackId %d', stackId);
+ error("loadAStack() - Invalid stackId %d", stackId);
unloadAStack(_stackId);
if (!_useCount[stackId]) {
@@ -874,6 +874,7 @@ const byte *ThreadResource::cardPerform(const byte *card) {
bVal = *card++;
assert(bVal < 8);
card += 6;
+ break;
case 45:
_newStateId = _nextStateId;