aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-30 17:47:44 +0000
committerFilippos Karapetis2010-06-30 17:47:44 +0000
commit3cd5821085817cece98365a28d24aa35a5749689 (patch)
tree163f3282ea4947cad325e55c0d99b50d30ab55e3 /engines/sci/engine/vm.cpp
parentb85fd471a6f64f7f291c7b52e6061b99a26714e9 (diff)
downloadscummvm-rg350-3cd5821085817cece98365a28d24aa35a5749689.tar.gz
scummvm-rg350-3cd5821085817cece98365a28d24aa35a5749689.tar.bz2
scummvm-rg350-3cd5821085817cece98365a28d24aa35a5749689.zip
SCI: Silenced a warning about a non game breaking script bug in Castle of Dr. Brain, room 360
svn-id: r50538
Diffstat (limited to 'engines/sci/engine/vm.cpp')
-rw-r--r--engines/sci/engine/vm.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index 48f17d34de..87ff985461 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -605,6 +605,9 @@ ExecStack *send_selector(EngineState *s, reg_t send_obj, reg_t work_obj, StackPt
} else if (!strcmp(objectName, "longSong") && selector == 3 && g_sci->getGameId() == GID_QFG1) {
// QFG1VGA has a script bug in the longSong object when invoking the
// loop selector, which doesn't affect gameplay, thus don't diplay it
+ } else if (!strcmp(objectName, "PuzPiece") && selector == 77 && g_sci->getGameId() == GID_CASTLEBRAIN) {
+ // Castle of Dr. Brain has a script bug in the PuzPiece object when invoking
+ // the value selector, which doesn't affect gameplay, thus don't display it
} else {
// Unknown script bug, show it. Usually these aren't fatal.
reg_t oldReg = *varp.getPointer(s->_segMan);