[Scummvm-cvs-logs] scummvm master -> 8f4859df33f06bbfc16792bcac95f77d6a6d8fe9

digitall dgturner at iee.org
Tue May 27 00:04:29 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8f4859df33 MADS: Fix missing initialization in EventsManager class.


Commit: 8f4859df33f06bbfc16792bcac95f77d6a6d8fe9
    https://github.com/scummvm/scummvm/commit/8f4859df33f06bbfc16792bcac95f77d6a6d8fe9
Author: D G Turner (digitall at scummvm.org)
Date: 2014-05-26T23:08:07+01:00

Commit Message:
MADS: Fix missing initialization in EventsManager class.

Fixes CID #1216233.

Changed paths:
    engines/mads/events.cpp



diff --git a/engines/mads/events.cpp b/engines/mads/events.cpp
index 3f2a739..e1240da 100644
--- a/engines/mads/events.cpp
+++ b/engines/mads/events.cpp
@@ -33,6 +33,8 @@ namespace MADS {
 EventsManager::EventsManager(MADSEngine *vm) {
 	_vm = vm;
 	_cursorSprites = nullptr;
+	_cursorId = CURSOR_NONE;
+	_newCursorId = CURSOR_NONE;
 	_frameCounter = 10;
 	_priorFrameTime = 0;
 	_mouseClicked = false;






More information about the Scummvm-git-logs mailing list