diff options
Diffstat (limited to 'scumm/vars.cpp')
| -rw-r--r-- | scumm/vars.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp index fd981e48bb..a253112ea5 100644 --- a/scumm/vars.cpp +++ b/scumm/vars.cpp @@ -267,9 +267,8 @@ void ScummEngine_v72he::setupScummVars() { if (_heversion >= 80) VAR_WINDOWS_VERSION = 79; VAR_KEY_STATE = 86; - if (_heversion >= 90) { VAR_NUM_ACTIVE_SOUND_CHANNELS = 88; - + if (_heversion >= 90) { VAR_SCRIPT_CYCLE = 103; VAR_NUM_SCRIPT_CYCLES = 104; @@ -515,10 +514,11 @@ void ScummEngine::initScummVars() { VAR(VAR_NUM_GLOBAL_OBJS) = _numGlobalObjects - 1; } if (_heversion >= 80) + VAR(78) = 1; VAR(VAR_WINDOWS_VERSION) = 40; - if (_heversion >= 90) { - VAR(VAR_NUM_ACTIVE_SOUND_CHANNELS) = 8; + VAR(VAR_NUM_ACTIVE_SOUND_CHANNELS) = (_heversion >= 90) ? 8 : 4; + if (_heversion >= 90) { VAR(VAR_SCRIPT_CYCLE) = 1; VAR(VAR_NUM_SCRIPT_CYCLES) = 1; |
