[Scummvm-cvs-logs] scummvm master -> 63bf41f4175b4fa3e0f87a1b0937ad89e3f490bf

Strangerke Strangerke at scummvm.org
Wed Feb 26 08:06:49 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
63bf41f417 VOYEUR: Add missing break in cardPerform() switch


Commit: 63bf41f4175b4fa3e0f87a1b0937ad89e3f490bf
    https://github.com/scummvm/scummvm/commit/63bf41f4175b4fa3e0f87a1b0937ad89e3f490bf
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-02-25T23:05:11-08:00

Commit Message:
VOYEUR: Add missing break in cardPerform() switch

Changed paths:
    engines/voyeur/files_threads.cpp



diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 7261aa2..0ce1fed 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;






More information about the Scummvm-git-logs mailing list