diff options
author | Travis Howell | 2004-02-13 11:04:15 +0000 |
---|---|---|
committer | Travis Howell | 2004-02-13 11:04:15 +0000 |
commit | 154bd9e3c59ace5712ea5475d8142c69db387826 (patch) | |
tree | 577353eee63f314f556f766d49d975e1532c69b5 | |
parent | f02f786b3f1e0c55a4d72c30ae12194e7e3d7e88 (diff) | |
download | scummvm-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.cpp | 1 |
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; |