From 869243142ad4e42c23c52617414fe737c3eead86 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 25 Oct 2006 05:32:15 +0000 Subject: Add class code used by scripts in Elvira 1 svn-id: r24491 --- engines/agos/script_e1.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/agos/script_e1.cpp') 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) -- cgit v1.2.3