From e40b4850f7ac94766c90873a9ac3e598f31bba40 Mon Sep 17 00:00:00 2001 From: lavosspawn Date: Thu, 21 Jul 2016 19:14:46 +0200 Subject: Modified compact implementation to work around bug https://sourceforge.net/p/scummvm/bugs/2687/ when playing Beneath a Steel Sky with our (slightly broken) sky.cpt --- engines/sky/logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sky/logic.cpp') diff --git a/engines/sky/logic.cpp b/engines/sky/logic.cpp index e1175f9936..ad656ac8df 100644 --- a/engines/sky/logic.cpp +++ b/engines/sky/logic.cpp @@ -1717,7 +1717,7 @@ bool Logic::fnSpeakMe(uint32 targetId, uint32 mesgNum, uint32 animNum) { on other screens, as the lack of speech files for these lines will cause Foster's speech to be aborted if the timing is bad. */ - if (targetId == 0x4039 && animNum == 0x9B && Logic::_scriptVariables[SCREEN] != 38) { + if (targetId == ID_DANIELLE && animNum == 0x9B && Logic::_scriptVariables[SCREEN] != 38) { return false; } -- cgit v1.2.3