aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2016-05-30 08:01:16 +0200
committerStrangerke2016-05-30 08:01:16 +0200
commite13e585ab38fb945b32bfc9c74e569fbee51d31f (patch)
treebffb93e165661152cbb8ebf6476856565c895915
parente0c032d87abc0f000f9ccb55853a5988ff3e5be5 (diff)
downloadscummvm-rg350-e13e585ab38fb945b32bfc9c74e569fbee51d31f.tar.gz
scummvm-rg350-e13e585ab38fb945b32bfc9c74e569fbee51d31f.tar.bz2
scummvm-rg350-e13e585ab38fb945b32bfc9c74e569fbee51d31f.zip
MOHAWK: Initialize some variables
-rw-r--r--engines/mohawk/view.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/engines/mohawk/view.cpp b/engines/mohawk/view.cpp
index 1aaf32ea78..e001e896bf 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() {