diff options
author | Filippos Karapetis | 2010-08-24 14:54:16 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-08-24 14:54:16 +0000 |
commit | ff9b897d8c6cd2bfcd0ca260977004470d92e026 (patch) | |
tree | aeef3eac4cd316631927b785fb843d525f5aa56e /engines | |
parent | 5fbe5f049bfe26a2a788dc8736b3186b53d52248 (diff) | |
download | scummvm-rg350-ff9b897d8c6cd2bfcd0ca260977004470d92e026.tar.gz scummvm-rg350-ff9b897d8c6cd2bfcd0ca260977004470d92e026.tar.bz2 scummvm-rg350-ff9b897d8c6cd2bfcd0ca260977004470d92e026.zip |
SCI: Define xLast/yLast for LB2 floppy (which has no selector
vocabulary), since they're used inside kDoBresen()
svn-id: r52343
Diffstat (limited to 'engines')
-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 |