diff options
Diffstat (limited to 'engines/agos/script_e1.cpp')
-rw-r--r-- | engines/agos/script_e1.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/agos/script_e1.cpp b/engines/agos/script_e1.cpp index 3339ffdbf0..5468e1cb27 100644 --- a/engines/agos/script_e1.cpp +++ b/engines/agos/script_e1.cpp @@ -344,8 +344,7 @@ void AGOSEngine::oe1_doClass() { int16 num = getVarOrWord(); _classMask = (cm != -1) ? 1 << cm : 0; - //_classLine = (SubroutineLine *)((uint32)_currentLine->next+(uint32)_currentTable); - + _classLine = (SubroutineLine *)((byte *)_currentTable + _currentLine->next); if (num == 1) { _subjectItem = findInByClass(i, (1 << cm)); if (_subjectItem) |