From 02ff3d29092cea246632b7afe2b7a34c1d99f834 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 22 May 2009 23:10:52 +0000 Subject: Fix crash with MSVC. svn-id: r40795 --- engines/kyra/lol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index 04f528f1f5..55ca7a4e1e 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -218,6 +218,7 @@ LoLEngine::LoLEngine(OSystem *system, const GameFlags &flags) : KyraEngine_v1(sy _buttonData = 0; _activeButtons = 0; + gui_resetButtonList(); _preserveEvents = false; _buttonList1 = _buttonList2 = _buttonList3 = _buttonList4 = _buttonList5 = _buttonList6 = _buttonList7 = _buttonList8 = 0; -- cgit v1.2.3