aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/agos.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-10 11:44:58 +0000
committerTravis Howell2006-10-10 11:44:58 +0000
commit99df94503818613b4ae799a2b1742b3b2318dbd4 (patch)
tree134e36c69896e57a4ad9e2746da653362acaac65 /engines/agos/agos.cpp
parentc5044d67c90c2886d88b3bb82df737ac93d945b5 (diff)
downloadscummvm-rg350-99df94503818613b4ae799a2b1742b3b2318dbd4.tar.gz
scummvm-rg350-99df94503818613b4ae799a2b1742b3b2318dbd4.tar.bz2
scummvm-rg350-99df94503818613b4ae799a2b1742b3b2318dbd4.zip
Fix guard response in Elvira 1
svn-id: r24261
Diffstat (limited to 'engines/agos/agos.cpp')
-rw-r--r--engines/agos/agos.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index 2f26acb01b..50f955d456 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -559,7 +559,7 @@ int AGOSEngine::init() {
return 0;
}
-const static uint16 initialVideoWindows_Simon[24] = {
+const static uint16 initialVideoWindows_Simon[20] = {
0, 0, 20, 200,
0, 0, 3, 136,
17, 0, 3, 136,
@@ -567,7 +567,7 @@ const static uint16 initialVideoWindows_Simon[24] = {
0, 0, 20, 134
};
-const static uint16 initialVideoWindows_Common[24] = {
+const static uint16 initialVideoWindows_Common[20] = {
3, 0, 14, 136,
0, 0, 3, 136,
17, 0, 3, 136,
@@ -713,7 +713,7 @@ void AGOSEngine::setupGame() {
_stringIdLocalMin = 1;
- for (int i = 0; i < 24; i++) {
+ for (int i = 0; i < 20; i++) {
if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2)
_videoWindows[i] = initialVideoWindows_Simon[i];
else