aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2012-10-26 19:14:10 +1100
committerPaul Gilbert2012-10-26 19:14:10 +1100
commit9b00ee5c8c8683640e31738663224386e6e5ae78 (patch)
treef6e63533c90ef667af690e1b4e35f3610d2b19dc
parentea2d59fa0712c112636b1d5e20fd8fba1a433cb2 (diff)
downloadscummvm-rg350-9b00ee5c8c8683640e31738663224386e6e5ae78.tar.gz
scummvm-rg350-9b00ee5c8c8683640e31738663224386e6e5ae78.tar.bz2
scummvm-rg350-9b00ee5c8c8683640e31738663224386e6e5ae78.zip
HOPKINS: Corrected the size of the VBob array
-rw-r--r--engines/hopkins/globals.cpp2
-rw-r--r--engines/hopkins/globals.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp
index d6a2f328d9..a25f962949 100644
--- a/engines/hopkins/globals.cpp
+++ b/engines/hopkins/globals.cpp
@@ -84,7 +84,7 @@ Globals::Globals() {
Common::fill((byte *)&Liste2[i], (byte *)&Liste2[i] + sizeof(Liste2Item), 0);
for (int i = 0; i < 30; ++i)
Common::fill((byte *)&BL_ANIM[i], (byte *)&BL_ANIM[i] + sizeof(BlAnimItem), 0);
- for (int i = 0; i < 35; ++i)
+ for (int i = 0; i < 30; ++i)
Common::fill((byte *)&VBob[i], (byte *)&VBob[i] + sizeof(VBobItem), 0);
for (int i = 0; i < 300; ++i)
Common::fill((byte *)&ObjetW[i], (byte *)&ObjetW[i] + sizeof(ObjetWItem), 0);
diff --git a/engines/hopkins/globals.h b/engines/hopkins/globals.h
index 293336fc09..f2b5d263be 100644
--- a/engines/hopkins/globals.h
+++ b/engines/hopkins/globals.h
@@ -301,7 +301,7 @@ public:
ListeItem Liste[6];
Liste2Item Liste2[35];
BlAnimItem BL_ANIM[30];
- VBobItem VBob[35];
+ VBobItem VBob[30];
ObjetWItem ObjetW[300];
BlocItem BLOC[250];
CacheItem Cache[25];