From 27d9cd32812c32950098eb062cd9422db94b286c Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 28 Aug 2018 02:04:46 +0300 Subject: SCI32: Fix a crash when talking with the Leshy in QFG4 Fixes bug #10137 --- engines/sci/engine/message.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/sci/engine') diff --git a/engines/sci/engine/message.cpp b/engines/sci/engine/message.cpp index d8e2d48367..cbfe72d87d 100644 --- a/engines/sci/engine/message.cpp +++ b/engines/sci/engine/message.cpp @@ -245,6 +245,12 @@ bool MessageState::getRecord(CursorStack &stack, bool recurse, MessageRecord &re t.cond = 13; } + if (g_sci->getGameId() == GID_QFG4 && stack.getModule() == 579 && + t.noun == 0 && t.verb == 0 && t.cond == 0 && t.seq == 1) { + // Talking with the Leshy and telling him about "bush in goo" - bug #10137 + t.verb = 1; + } + // Fill in known missing message tuples if (g_sci->getGameId() == GID_SQ4 && stack.getModule() == 16 && t.noun == 7 && t.verb == 0 && t.cond == 3 && t.seq == 1) { -- cgit v1.2.3