Permalink
Browse files

SCI32: Fix a crash when talking with the Leshy in QFG4

Fixes bug #10137
  • Loading branch information...
bluegr committed Aug 27, 2018
1 parent bcb044f commit 27d9cd32812c32950098eb062cd9422db94b286c
Showing with 6 additions and 0 deletions.
  1. +6 −0 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) {

0 comments on commit 27d9cd3

Please sign in to comment.