aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-10-27 10:43:48 +0000
committerTravis Howell2006-10-27 10:43:48 +0000
commit9bab66a53a2c6403a170091500bf810c94fe38a4 (patch)
tree2e19d938fdfc13341b2944cd3404072edb2ee3d1 /engines
parentadb626c783efe2ed9aad0fd554463d3af60b04a7 (diff)
downloadscummvm-rg350-9bab66a53a2c6403a170091500bf810c94fe38a4.tar.gz
scummvm-rg350-9bab66a53a2c6403a170091500bf810c94fe38a4.tar.bz2
scummvm-rg350-9bab66a53a2c6403a170091500bf810c94fe38a4.zip
Script 160 is only used when clearing timers in Simon 1/2
svn-id: r24526
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/script.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp
index b17a45b599..64dc551848 100644
--- a/engines/agos/script.cpp
+++ b/engines/agos/script.cpp
@@ -925,7 +925,9 @@ void AGOSEngine::o_placeNoIcons() {
void AGOSEngine::o_clearTimers() {
// 140: clear timers
killAllTimers();
- addTimeEvent(3, 0xA0);
+
+ if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2)
+ addTimeEvent(3, 160);
}
void AGOSEngine::o_setDollar() {