diff options
Diffstat (limited to 'engines/hugo/mouse.cpp')
| -rw-r--r-- | engines/hugo/mouse.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/hugo/mouse.cpp b/engines/hugo/mouse.cpp index 1b2dd588b8..d2d5b59dae 100644 --- a/engines/hugo/mouse.cpp +++ b/engines/hugo/mouse.cpp @@ -18,9 +18,6 @@   * along with this program; if not, write to the Free Software   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.   * - * $URL$ - * $Id$ - *   */  /* @@ -32,6 +29,7 @@  // mouse.cpp : Handle all mouse activity +#include "common/debug.h"  #include "common/system.h"  #include "hugo/hugo.h" @@ -363,6 +361,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)  | 
