From 77bcc94f80b04ad9f4cade885a7f548335530bed Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sun, 7 Jun 2009 22:42:21 +0000 Subject: [PATCH] LOL: minor bug fix svn-id: r41358 --- engines/kyra/saveload_lol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/kyra/saveload_lol.cpp b/engines/kyra/saveload_lol.cpp index 2090deddfa4..c72e2c46c0e 100644 --- a/engines/kyra/saveload_lol.cpp +++ b/engines/kyra/saveload_lol.cpp @@ -134,6 +134,7 @@ Common::Error LoLEngine::loadGameState(int slot) { flags[i] = in.readUint16BE(); } + memset(_flagsTable, 0, sizeof(_flagsTable)); for (uint i = 0; i < ARRAYSIZE(flags); ++i) { for (uint k = 0; k < 16; ++k) { if (flags[i] & (1 << k))