diff options
author | Travis Howell | 2004-09-01 02:41:48 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-01 02:41:48 +0000 |
commit | 35bc32625c546683a2f65644d563dff448b3d918 (patch) | |
tree | 4e00cb48f1b3a4d31c6730bb8628152aaf07e6b0 /scumm | |
parent | 6962e64fad3644f0d5639aa9fff7fdfe1c408a63 (diff) | |
download | scummvm-rg350-35bc32625c546683a2f65644d563dff448b3d918.tar.gz scummvm-rg350-35bc32625c546683a2f65644d563dff448b3d918.tar.bz2 scummvm-rg350-35bc32625c546683a2f65644d563dff448b3d918.zip |
Correct assert
svn-id: r14850
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index 6287bf416b..6db787bcd0 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -408,7 +408,7 @@ void ScummEngine::getScriptBaseAddress() { case WIO_FLOBJECT: /* flobject script */ idx = getObjectIndex(ss->number); _scriptOrgPointer = getResourceAddress(rtFlObject, _objs[idx].fl_object_index); - assert(idx < _numFlObject); + assert(_objs[idx].fl_object_index < _numFlObject); _lastCodePtr = &_baseFLObject[idx]; break; default: |