From 37c990d3ab251503b0b5c7936df085c1d7d4558d Mon Sep 17 00:00:00 2001 From: Lionel Ulmer Date: Sat, 30 Mar 2002 21:24:15 +0000 Subject: [PATCH] Another small init fix thanks to Valgrind (using Sam n Max this time). svn-id: r3841 --- init.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.cpp b/init.cpp index d98729698a4..4e16b1f17c7 100644 --- a/init.cpp +++ b/init.cpp @@ -149,4 +149,7 @@ Scumm::Scumm(void) _saveLoadFlag = 0; _completeScreenRedraw = false; /* Maybe it should be true to force a full redraw on start ? */ _expire_counter = 0; /* Start expired (0xFF) or not ? */ + _leftBtnPressed = 0; + _rightBtnPressed = 0; + _lastKeyHit = 0; }