aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-02-13 11:04:15 +0000
committerTravis Howell2004-02-13 11:04:15 +0000
commit154bd9e3c59ace5712ea5475d8142c69db387826 (patch)
tree577353eee63f314f556f766d49d975e1532c69b5
parentf02f786b3f1e0c55a4d72c30ae12194e7e3d7e88 (diff)
downloadscummvm-rg350-154bd9e3c59ace5712ea5475d8142c69db387826.tar.gz
scummvm-rg350-154bd9e3c59ace5712ea5475d8142c69db387826.tar.bz2
scummvm-rg350-154bd9e3c59ace5712ea5475d8142c69db387826.zip
Fix for valgrind warning (From LavosSpawn)
svn-id: r12846
-rw-r--r--sword1/mouse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sword1/mouse.cpp b/sword1/mouse.cpp
index 7add561ab7..2bdc969c2c 100644
--- a/sword1/mouse.cpp
+++ b/sword1/mouse.cpp
@@ -45,6 +45,7 @@ void Mouse::initialize(void) {
Logic::_scriptVars[MOUSE_STATUS] = 0; // mouse off and unlocked
_getOff = 0;
_inTopMenu = false;
+ _lastState = 0;
_mouseOverride = false;
_currentPtrId = _currentLuggageId = 0;