diff options
author | Strangerke | 2013-10-31 08:13:16 +0100 |
---|---|---|
committer | Strangerke | 2013-10-31 08:13:16 +0100 |
commit | ba50475dfaa812f34da87c76e95672a8e6cc8702 (patch) | |
tree | 2cde71036e39b23858586398f22ab5874885edbd /engines/hugo/mouse.cpp | |
parent | f1817431dfc022f73b137ce8ca573e9864b2c64b (diff) | |
download | scummvm-rg350-ba50475dfaa812f34da87c76e95672a8e6cc8702.tar.gz scummvm-rg350-ba50475dfaa812f34da87c76e95672a8e6cc8702.tar.bz2 scummvm-rg350-ba50475dfaa812f34da87c76e95672a8e6cc8702.zip |
HUGO: Fix CID 1003199-1003200, better fix of CID 1003197-1003198
Diffstat (limited to 'engines/hugo/mouse.cpp')
-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 ae286c8afb..a95170696c 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 = 0, y = 0; + int16 x, y; switch (obj->_viewx) { // Where to walk to case -1: // Walk to object position if (_vm->_object->findObjectSpace(obj, &x, &y)) |