aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2005-04-17 03:09:03 +0000
committerTravis Howell2005-04-17 03:09:03 +0000
commit95c23c4cc8801fbbcbce94c5a09194eb764c81ae (patch)
treee1c2b10f595746905dd86ec0dd12f19a84824f2a /scumm
parentb05e1cd997034b98276b094a044bda9fb00a0d43 (diff)
downloadscummvm-rg350-95c23c4cc8801fbbcbce94c5a09194eb764c81ae.tar.gz
scummvm-rg350-95c23c4cc8801fbbcbce94c5a09194eb764c81ae.tar.bz2
scummvm-rg350-95c23c4cc8801fbbcbce94c5a09194eb764c81ae.zip
Missing brackets.
svn-id: r17643
Diffstat (limited to 'scumm')
-rw-r--r--scumm/vars.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp
index a253112ea5..15b5e18cdf 100644
--- a/scumm/vars.cpp
+++ b/scumm/vars.cpp
@@ -513,11 +513,12 @@ void ScummEngine::initScummVars() {
VAR(VAR_NUM_CHARSETS) = _numCharsets - 1;
VAR(VAR_NUM_GLOBAL_OBJS) = _numGlobalObjects - 1;
}
- if (_heversion >= 80)
+ if (_heversion >= 80) {
VAR(78) = 1;
VAR(VAR_WINDOWS_VERSION) = 40;
VAR(VAR_NUM_ACTIVE_SOUND_CHANNELS) = (_heversion >= 90) ? 8 : 4;
+ }
if (_heversion >= 90) {
VAR(VAR_SCRIPT_CYCLE) = 1;
VAR(VAR_NUM_SCRIPT_CYCLES) = 1;