aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v80he.cpp
diff options
context:
space:
mode:
authorTravis Howell2011-08-08 14:46:12 +1000
committerTravis Howell2011-08-08 14:46:12 +1000
commit99d5087918d667b8531dabab6e4c989c03323c51 (patch)
treefa3b1b36045cb00a38765eddfd7b4833ebe024a9 /engines/scumm/he/script_v80he.cpp
parentc87ff89b4aceb4494466c4277614346376a2be0c (diff)
downloadscummvm-rg350-99d5087918d667b8531dabab6e4c989c03323c51.tar.gz
scummvm-rg350-99d5087918d667b8531dabab6e4c989c03323c51.tar.bz2
scummvm-rg350-99d5087918d667b8531dabab6e4c989c03323c51.zip
SCUMM: Set default Benchmark speed in Moonbase Commander, based on the original Moonbase.ini.
Diffstat (limited to 'engines/scumm/he/script_v80he.cpp')
-rw-r--r--engines/scumm/he/script_v80he.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/scumm/he/script_v80he.cpp b/engines/scumm/he/script_v80he.cpp
index 7970d7806f..9711f6415b 100644
--- a/engines/scumm/he/script_v80he.cpp
+++ b/engines/scumm/he/script_v80he.cpp
@@ -171,7 +171,10 @@ void ScummEngine_v80he::o80_readConfigFile() {
case 6: // number
ConfFile.getKey((const char *)option, (const char *)section, entry);
- push(atoi(entry.c_str()));
+ if (!strcmp((char *)option, "Benchmark"))
+ push(2);
+ else
+ push(atoi(entry.c_str()));
break;
case 77: // HE 100
case 7: // string