aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/mouse.cpp
diff options
context:
space:
mode:
authorathrxx2011-04-21 20:29:25 +0200
committerathrxx2011-04-21 20:29:25 +0200
commit204644b001d85612742426b5731b8149b0a24f2e (patch)
tree8e19872f056e773335536b5cb6a70d3e3f55f75f /engines/hugo/mouse.cpp
parentb0008d2d33c394fbba358c08b032c5872e6a909d (diff)
parent44e79c70fa2908e0abdb7c9effa1dd039404a520 (diff)
downloadscummvm-rg350-204644b001d85612742426b5731b8149b0a24f2e.tar.gz
scummvm-rg350-204644b001d85612742426b5731b8149b0a24f2e.tar.bz2
scummvm-rg350-204644b001d85612742426b5731b8149b0a24f2e.zip
Merge branch 'master' of https://github.com/scummvm/scummvm
Diffstat (limited to 'engines/hugo/mouse.cpp')
-rw-r--r--engines/hugo/mouse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hugo/mouse.cpp b/engines/hugo/mouse.cpp
index 1b2dd588b8..e8926b17c4 100644
--- a/engines/hugo/mouse.cpp
+++ b/engines/hugo/mouse.cpp
@@ -363,6 +363,7 @@ void MouseHandler::readHotspot(Common::ReadStream &in, hotspot_t &hotspot) {
void MouseHandler::loadHotspots(Common::ReadStream &in) {
hotspot_t *wrkHotspots = 0;
hotspot_t tmp;
+ memset(&tmp, 0, sizeof(tmp));
for (int varnt = 0; varnt < _vm->_numVariant; varnt++) {
int numRows = in.readUint16BE();
if (varnt == _vm->_gameVariant)