aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/script.cpp
diff options
context:
space:
mode:
authorTravis Howell2008-03-27 01:01:52 +0000
committerTravis Howell2008-03-27 01:01:52 +0000
commit4d51eb5fb74b13a34a3807d0bdd5fdafb98388fa (patch)
tree8d84ec6a7d34e015d2ed1b3de88db0a6edff469d /engines/agos/script.cpp
parentc4f15a7076bc655f65c0e9a02114593ae1dad689 (diff)
downloadscummvm-rg350-4d51eb5fb74b13a34a3807d0bdd5fdafb98388fa.tar.gz
scummvm-rg350-4d51eb5fb74b13a34a3807d0bdd5fdafb98388fa.tar.bz2
scummvm-rg350-4d51eb5fb74b13a34a3807d0bdd5fdafb98388fa.zip
Add work around for script bug in The Feeble Files.
svn-id: r31260
Diffstat (limited to 'engines/agos/script.cpp')
-rw-r--r--engines/agos/script.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/agos/script.cpp b/engines/agos/script.cpp
index 19df5c0b76..44fbb4e9e0 100644
--- a/engines/agos/script.cpp
+++ b/engines/agos/script.cpp
@@ -255,6 +255,11 @@ void AGOSEngine::o_add() {
// 43: add
uint var = getVarWrapper();
writeVariable(var, readVariable(var) + getVarOrWord());
+
+ // WORKAROUND: The converation of the male in Vid-Phone Booth at Dave's Space Bar
+ // is based on variable 116, but stops due to a missing option (37).
+ if (getGameType() == GType_FF && _currentTable->id == 10538 && readVariable(116) == 37)
+ writeVariable(116, 38);
}
void AGOSEngine::o_sub() {