From 41aca44b037c129d837021eb0d0e91990e41856a Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sat, 26 Jun 2010 16:27:01 +0000 Subject: SCI: another commit for adding a workaround for islang room 300 again (although i already commited it already, stupid torturegit) svn-id: r50330 --- engines/sci/graphics/paint16.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/sci') 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; } -- cgit v1.2.3