aboutsummaryrefslogtreecommitdiff
path: root/engines/sky/logic.cpp
diff options
context:
space:
mode:
authorlavosspawn2016-07-21 19:14:46 +0200
committerlavosspawn2016-07-21 19:14:46 +0200
commite40b4850f7ac94766c90873a9ac3e598f31bba40 (patch)
tree470a888ac5f5b2a67647e25e75c405bb45a57458 /engines/sky/logic.cpp
parent7874f517f79da796e480e014d72f536d3abe2af8 (diff)
downloadscummvm-rg350-e40b4850f7ac94766c90873a9ac3e598f31bba40.tar.gz
scummvm-rg350-e40b4850f7ac94766c90873a9ac3e598f31bba40.tar.bz2
scummvm-rg350-e40b4850f7ac94766c90873a9ac3e598f31bba40.zip
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
Diffstat (limited to 'engines/sky/logic.cpp')
-rw-r--r--engines/sky/logic.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}