aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mohawk/view.cpp6
-rw-r--r--engines/mohawk/view.h8
2 files changed, 0 insertions, 14 deletions
diff --git a/engines/mohawk/view.cpp b/engines/mohawk/view.cpp
index a8547967a5..63e4f84627 100644
--- a/engines/mohawk/view.cpp
+++ b/engines/mohawk/view.cpp
@@ -343,12 +343,6 @@ View::View(MohawkEngine *vm) : _vm(vm) {
_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() {
diff --git a/engines/mohawk/view.h b/engines/mohawk/view.h
index 47853f056f..8bf4701de4 100644
--- a/engines/mohawk/view.h
+++ b/engines/mohawk/view.h
@@ -192,13 +192,6 @@ protected:
void finishResetFeatureScript();
};
-#define NUM_SYNC_CHANNELS 17
-struct SyncChannel {
- uint16 masterId;
- byte state;
- bool alternate;
-};
-
class View {
public:
View(MohawkEngine *vm);
@@ -234,7 +227,6 @@ public:
void sortView();
uint32 _lastIdleTime;
- SyncChannel _syncChannels[NUM_SYNC_CHANNELS];
virtual uint32 getTime() = 0;