aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-22 23:16:53 +0000
committerJohannes Schickel2009-05-22 23:16:53 +0000
commit37b823531c3cc0cad5a885976f0d3eac0f371e12 (patch)
treea0489b38311e8f1bd52c5c51a1e107f402d7a590 /engines
parent02ff3d29092cea246632b7afe2b7a34c1d99f834 (diff)
downloadscummvm-rg350-37b823531c3cc0cad5a885976f0d3eac0f371e12.tar.gz
scummvm-rg350-37b823531c3cc0cad5a885976f0d3eac0f371e12.tar.bz2
scummvm-rg350-37b823531c3cc0cad5a885976f0d3eac0f371e12.zip
Yet another fix for MSVC (it seems it initializes all pointers in debug mode to 0xCCCCCCCC instead of 0).
svn-id: r40796
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/gui_lol.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp
index 652cc7bc40..13f69cc24b 100644
--- a/engines/kyra/gui_lol.cpp
+++ b/engines/kyra/gui_lol.cpp
@@ -920,6 +920,7 @@ void LoLEngine::gui_initButton(int index, int x, int y, int val) {
*b = Button();
+ b->nextButton = 0;
b->data0Val2 = b->data1Val2 = b->data2Val2 = 0xfe;
b->data0Val3 = b->data1Val3 = b->data2Val3 = 0x01;