aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJonathan Gray2003-10-05 06:38:07 +0000
committerJonathan Gray2003-10-05 06:38:07 +0000
commitb37853b713ad68bcbfbc3257e38b54443acabcc6 (patch)
treed74fb2db5ef43eef23de47a1d4305660749465b1 /scumm
parentb831c5cf538349354e528b21a359141362214fbc (diff)
downloadscummvm-rg350-b37853b713ad68bcbfbc3257e38b54443acabcc6.tar.gz
scummvm-rg350-b37853b713ad68bcbfbc3257e38b54443acabcc6.tar.bz2
scummvm-rg350-b37853b713ad68bcbfbc3257e38b54443acabcc6.zip
correct for towns version
svn-id: r10602
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scummvm.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 0ab62b74d1..30d7ac909e 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -1378,12 +1378,15 @@ load_game:
gdi.clearCharsetMask();
_charset->_hasMask = false;
+ // HACK as in game save stuff isn't supported currently
if (_gameId == GID_LOOM || _gameId == GID_LOOM256) {
int args = 2;
uint value = (_gameId == GID_LOOM256) ? 150 : 100;
+ byte restoreScript = (_features & GF_FMTOWNS) ? 17 : 18;
redrawVerbs();
+ // if verbs should be shown restore them
if (VAR(value) == 2)
- runScript(18, 0, 0, &args);
+ runScript(restoreScript, 0, 0, &args);
} else if (_version > 3) {
for (int i = 0; i < _maxVerbs; i++)
drawVerb(i, 0);