aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2006-10-27 13:08:25 +0000
committerTravis Howell2006-10-27 13:08:25 +0000
commitf07fc242b30f781d197fe19005e3a9cbff922c44 (patch)
tree26e22bc3741e4c9d1c0216abdf2ff21114ab6111 /engines/agos
parentf1accee70239fe3ca0d83007099bf45f27e700c2 (diff)
downloadscummvm-rg350-f07fc242b30f781d197fe19005e3a9cbff922c44.tar.gz
scummvm-rg350-f07fc242b30f781d197fe19005e3a9cbff922c44.tar.bz2
scummvm-rg350-f07fc242b30f781d197fe19005e3a9cbff922c44.zip
Var 254 is only reset, when reseting animations in later games
svn-id: r24532
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/vga.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp
index 73940cecdf..b43d29d41d 100644
--- a/engines/agos/vga.cpp
+++ b/engines/agos/vga.cpp
@@ -1016,7 +1016,8 @@ void AGOSEngine::vc27_resetSprite() {
}
}
- vcWriteVar(254, 0);
+ if (getGameType() == GType_SIMON2 || getGameType() == GType_FF || getGameType() == GType_PP)
+ vcWriteVar(254, 0);
if (getGameType() == GType_FF || getGameType() == GType_PP)
setBitFlag(42, true);