aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-22 23:10:52 +0000
committerJohannes Schickel2009-05-22 23:10:52 +0000
commit02ff3d29092cea246632b7afe2b7a34c1d99f834 (patch)
treea32a725c41c4da441218fd040f4354d090be2040 /engines/kyra
parentb82f2ce538926db40d9b0eeab201ab04f1fa9065 (diff)
downloadscummvm-rg350-02ff3d29092cea246632b7afe2b7a34c1d99f834.tar.gz
scummvm-rg350-02ff3d29092cea246632b7afe2b7a34c1d99f834.tar.bz2
scummvm-rg350-02ff3d29092cea246632b7afe2b7a34c1d99f834.zip
Fix crash with MSVC.
svn-id: r40795
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/lol.cpp1
1 files changed, 1 insertions, 0 deletions
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;