aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/globals.cpp
diff options
context:
space:
mode:
authorStrangerke2012-12-20 08:35:11 +0100
committerStrangerke2012-12-20 08:35:11 +0100
commit664463d5d829d547a3f28ec40875dacecc78ca06 (patch)
treeba8695b0a28511ac77a62e96b50e34fb15607c28 /engines/hopkins/globals.cpp
parent687b7f97df666c392af6f0f4ff3eca7832b1b313 (diff)
downloadscummvm-rg350-664463d5d829d547a3f28ec40875dacecc78ca06.tar.gz
scummvm-rg350-664463d5d829d547a3f28ec40875dacecc78ca06.tar.bz2
scummvm-rg350-664463d5d829d547a3f28ec40875dacecc78ca06.zip
HOPKINS: Fix bug introduced in previous commit, more renaming
Diffstat (limited to 'engines/hopkins/globals.cpp')
-rw-r--r--engines/hopkins/globals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp
index 6af81b819a..2650018c58 100644
--- a/engines/hopkins/globals.cpp
+++ b/engines/hopkins/globals.cpp
@@ -77,7 +77,7 @@ Globals::Globals() {
for (int i = 0; i < 8; ++i)
Common::fill((byte *)&Bank[i], (byte *)&Bank[i] + sizeof(BankItem), 0);
for (int i = 0; i < 36; ++i)
- Common::fill((byte *)&Bob[i], (byte *)&Bob[i] + sizeof(BobItem), 0);
+ Common::fill((byte *)&_bob[i], (byte *)&_bob[i] + sizeof(BobItem), 0);
for (int i = 0; i < 6; ++i)
Common::fill((byte *)&Liste[i], (byte *)&Liste[i] + sizeof(ListeItem), 0);
for (int i = 0; i < 35; ++i)
@@ -601,7 +601,7 @@ void Globals::loadCache(const Common::String &file) {
}
void Globals::B_CACHE_OFF(int idx) {
- Bob[idx].field34 = true;
+ _bob[idx].field34 = true;
}