diff options
author | Max Horn | 2004-03-28 23:02:03 +0000 |
---|---|---|
committer | Max Horn | 2004-03-28 23:02:03 +0000 |
commit | f5f3ee903dde3af085796c01406209252c9104f9 (patch) | |
tree | 4a9a3aeabb1ede76f55dfd6abd06f7ed42b18dab /scumm | |
parent | 0e36493349b3c35e55d1e2d54dd9762d26d4b68a (diff) | |
download | scummvm-rg350-f5f3ee903dde3af085796c01406209252c9104f9.tar.gz scummvm-rg350-f5f3ee903dde3af085796c01406209252c9104f9.tar.bz2 scummvm-rg350-f5f3ee903dde3af085796c01406209252c9104f9.zip |
Fix for bug #907174 (LOOM MAC: Crash after entering copy protection)
svn-id: r13420
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/vars.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp index 60a5ae0205..7d3fb56d5b 100644 --- a/scumm/vars.cpp +++ b/scumm/vars.cpp @@ -54,7 +54,14 @@ void ScummEngine::setupScummVars() { VAR_CUTSCENEEXIT_KEY = 24; VAR_TALK_ACTOR = 25; VAR_CAMERA_FAST_X = 26; - VAR_SCROLL_SCRIPT = 27; + + // FIXME: Apparently, in the Mac version of Loom, scumm variable 27 was + // used for another purpose. It is being set to values 0, 1, 2 or 3. + // Maybe it's some kind of 'scroll mode'. See also: + // http://www.scummbar.com/games/media/transcripts/maclucas.txt + if (!(_gameId == GID_LOOM && _features & GF_MACINTOSH)) + VAR_SCROLL_SCRIPT = 27; + VAR_ENTRY_SCRIPT = 28; VAR_ENTRY_SCRIPT2 = 29; VAR_EXIT_SCRIPT = 30; |