diff options
author | Strangerke | 2016-06-01 00:51:51 +0200 |
---|---|---|
committer | Strangerke | 2016-06-01 00:51:51 +0200 |
commit | f01978c6750ce45d43d7a788a6ef29dc76385711 (patch) | |
tree | 9bfc74a854cca5dd209eb4c7920353352e6e302c | |
parent | db17866bea3b1f095af754085082eb1ee22edf63 (diff) | |
download | scummvm-rg350-f01978c6750ce45d43d7a788a6ef29dc76385711.tar.gz scummvm-rg350-f01978c6750ce45d43d7a788a6ef29dc76385711.tar.bz2 scummvm-rg350-f01978c6750ce45d43d7a788a6ef29dc76385711.zip |
MOHAWK: Remove a useless structure
-rw-r--r-- | engines/mohawk/view.cpp | 6 | ||||
-rw-r--r-- | engines/mohawk/view.h | 8 |
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; |