diff --git a/engines/trecision/defines.h b/engines/trecision/defines.h index 17a5aa9381f..d4e9ab5981c 100644 --- a/engines/trecision/defines.h +++ b/engines/trecision/defines.h @@ -2321,8 +2321,6 @@ Game Structure #define MAXOBJINROOM 128 // Objects per room #define MAXSOUNDSINROOM 15 // Sounds per room #define MAXACTIONINROOM 32 // Number of actions per room -#define MAXACTION 620 // Number of actions in the game -#define MAXACTIONFRAMESINROOM 1200 // Number of action frames per room #define MAXSENTENCE 4000 // Max Examine phrases #define MAXOBJNAME 1400 diff --git a/engines/trecision/resource.cpp b/engines/trecision/resource.cpp index c97d4d67efa..51549c2c657 100644 --- a/engines/trecision/resource.cpp +++ b/engines/trecision/resource.cpp @@ -129,8 +129,7 @@ void TrecisionEngine::loadAll() { _animMgr->loadAnimTab(&dataNl); _dialogMgr->loadData(&dataNl); - for (int i = 0; i < MAXACTION; ++i) - _actionLen[i] = dataNl.readByte(); + dataNl.skip(620); // actions (unused) int numFileRef = dataNl.readSint32LE(); dataNl.skip(numFileRef * (12 + 4)); // fileRef name + offset diff --git a/engines/trecision/trecision.h b/engines/trecision/trecision.h index 20dd7c5077f..b28101915b6 100644 --- a/engines/trecision/trecision.h +++ b/engines/trecision/trecision.h @@ -133,7 +133,6 @@ class TrecisionEngine : public Engine { char *_textArea; uint16 _curScriptFrame[10]; - uint8 _actionLen[MAXACTION]; char *_textPtr; uint16 _curAscii;