[Scummvm-cvs-logs] scummvm master -> e13e585ab38fb945b32bfc9c74e569fbee51d31f

Strangerke Strangerke at scummvm.org
Mon May 30 08:09:45 CEST 2016


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:
e13e585ab3 MOHAWK: Initialize some variables


Commit: e13e585ab38fb945b32bfc9c74e569fbee51d31f
    https://github.com/scummvm/scummvm/commit/e13e585ab38fb945b32bfc9c74e569fbee51d31f
Author: Strangerke (strangerke at scummvm.org)
Date: 2016-05-30T08:01:16+02:00

Commit Message:
MOHAWK: Initialize some variables

Changed paths:
    engines/mohawk/view.cpp



diff --git a/engines/mohawk/view.cpp b/engines/mohawk/view.cpp
index 1aaf32e..e001e89 100644
--- a/engines/mohawk/view.cpp
+++ b/engines/mohawk/view.cpp
@@ -37,6 +37,24 @@ Module::~Module() {
 }
 
 Feature::Feature(View *view) : _view(view) {
+	_next = _prev = nullptr;
+	_drawProc = nullptr;
+	_moveProc = nullptr;
+	_doneProc = nullptr;
+	_frameProc = nullptr;
+	_timeProc = nullptr;
+	_region = 0;
+	_id = 0;
+	_scrbId = 0;
+	_storedScrbId = 0;
+	_flags = 0;
+	_nextTime = 0;
+	_delayTime = 0;
+	_dirty = 0;
+	_needsReset = 0;
+	_justReset = 0;
+	_notifyDone = 0;
+	_done = 0;
 }
 
 Feature::~Feature() {






More information about the Scummvm-git-logs mailing list