aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-26 16:27:01 +0000
committerMartin Kiewitz2010-06-26 16:27:01 +0000
commit41aca44b037c129d837021eb0d0e91990e41856a (patch)
tree04fd790d62ccb24b567b4fea1ee532c34ec80b5b /engines/sci/graphics
parent79b5e7d77e26da5b27a2dd6d8527ca47fd873b09 (diff)
downloadscummvm-rg350-41aca44b037c129d837021eb0d0e91990e41856a.tar.gz
scummvm-rg350-41aca44b037c129d837021eb0d0e91990e41856a.tar.bz2
scummvm-rg350-41aca44b037c129d837021eb0d0e91990e41856a.zip
SCI: another commit for adding a workaround for islang room 300 again (although i already commited it already, stupid torturegit)
svn-id: r50330
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/paint16.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/graphics/paint16.cpp b/engines/sci/graphics/paint16.cpp
index 88fa467b3a..c2e8d2c5d0 100644
--- a/engines/sci/graphics/paint16.cpp
+++ b/engines/sci/graphics/paint16.cpp
@@ -536,6 +536,8 @@ reg_t GfxPaint16::kernelDisplay(const char *text, int argc, reg_t *argv) {
}
break;
default:
+ if ((g_sci->getGameId() == GID_ISLANDBRAIN) && (g_sci->getEngineState()->currentRoomNumber() == 300))
+ break; // WORKAROUND: we are called there with an forwarded 0 as additional parameter (script bug)
error("Unknown kDisplay argument %X", displayArg);
break;
}