diff options
author | Strangerke | 2013-04-17 08:13:19 +0200 |
---|---|---|
committer | Strangerke | 2013-04-17 08:13:19 +0200 |
commit | 6548104b96be211b1c93412a05802cc821b1d2e0 (patch) | |
tree | efb8b88ff05db6d1e6fd522a5ffdb8bbe6c391a1 | |
parent | ea5b0b3312861da6ab792174418cafd80a7c0c35 (diff) | |
download | scummvm-rg350-6548104b96be211b1c93412a05802cc821b1d2e0.tar.gz scummvm-rg350-6548104b96be211b1c93412a05802cc821b1d2e0.tar.bz2 scummvm-rg350-6548104b96be211b1c93412a05802cc821b1d2e0.zip |
HUGO: Fix Uninitialized scalar variables
-rw-r--r-- | engines/hugo/mouse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hugo/mouse.cpp b/engines/hugo/mouse.cpp index a95170696c..ae286c8afb 100644 --- a/engines/hugo/mouse.cpp +++ b/engines/hugo/mouse.cpp @@ -169,7 +169,7 @@ void MouseHandler::processRightClick(const int16 objId, const int16 cx, const in _vm->_object->useObject(objId); // Use status.objid on object } else { // Clicked over viewport object Object *obj = &_vm->_object->_objects[objId]; - int16 x, y; + int16 x = 0, y = 0; switch (obj->_viewx) { // Where to walk to case -1: // Walk to object position if (_vm->_object->findObjectSpace(obj, &x, &y)) |