From de2fa9a81f1fcbb16e222a0cae85e06cd2f44447 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 21 Jan 2013 07:50:12 +0100 Subject: HOPKINS: Rename several structures --- engines/hopkins/globals.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/hopkins/globals.cpp') diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp index 543fe26ac2..c13e559b4f 100644 --- a/engines/hopkins/globals.cpp +++ b/engines/hopkins/globals.cpp @@ -81,7 +81,7 @@ Globals::Globals() { 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) - Common::fill((byte *)&Liste2[i], (byte *)&Liste2[i] + sizeof(Liste2Item), 0); + Common::fill((byte *)&Liste2[i], (byte *)&Liste2[i] + sizeof(ListeItem), 0); for (int i = 0; i < 30; ++i) { Common::fill((byte *)&_lockedAnims[i], (byte *)&_lockedAnims[i] + sizeof(LockAnimItem), 0); Common::fill((byte *)&VBob[i], (byte *)&VBob[i] + sizeof(VBobItem), 0); @@ -337,7 +337,7 @@ void Globals::clearAll() { } for (int idx = 0; idx < 100; ++idx) { - CarreZone[idx].field0 = 0; + CarreZone[idx]._enabledFl = 0; } BUFFERTAPE = allocMemory(85000); -- cgit v1.2.3