diff options
-rw-r--r-- | engines/sci/engine/static_selectors.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/sci/engine/static_selectors.cpp b/engines/sci/engine/static_selectors.cpp index f5e460969b..b65903eb82 100644 --- a/engines/sci/engine/static_selectors.cpp +++ b/engines/sci/engine/static_selectors.cpp @@ -177,13 +177,16 @@ Common::StringArray Kernel::checkStaticSelectorNames() { names[110] = "init"; } else if (g_sci->getGameId() == GID_LAURABOW2) { // The floppy of version needs the open and changeState selectors set to match up with the - // CD version's workarounds - bugs #3035694, #3036291 and #3041257 - if (names.size() < 190) - names.resize(190); + // CD version's workarounds - bugs #3035694, #3036291 and #3041257. Also, xLast and yLast + // are set, since they're used inside kDoBresen() + if (names.size() < 251) + names.resize(251); names[110] = "init"; names[144] = "changeState"; names[189] = "open"; + names[249] = "xLast"; + names[250] = "yLast"; } #ifdef ENABLE_SCI32 |