diff options
-rw-r--r-- | engines/mohawk/view.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/mohawk/view.cpp b/engines/mohawk/view.cpp index e001e896bf..a8547967a5 100644 --- a/engines/mohawk/view.cpp +++ b/engines/mohawk/view.cpp @@ -337,6 +337,18 @@ View::View(MohawkEngine *vm) : _vm(vm) { _compoundSHAPGroups[i] = 0; } _numSCRBGroups = 0; + + _lastIdleTime = 0; + _needsUpdate = false; + _gfx = nullptr; + _rootNode = nullptr; + _cursorNode = nullptr; + + for (int i = 0; i < 17; i++) { + _syncChannels[i].masterId = 0; + _syncChannels[i].state = 0; + _syncChannels[i].alternate = false; + } } View::~View() { |