diff options
Diffstat (limited to 'engines/sci/engine/script.h')
-rw-r--r-- | engines/sci/engine/script.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/engine/script.h b/engines/sci/engine/script.h index 2be3fd0264..f63b312647 100644 --- a/engines/sci/engine/script.h +++ b/engines/sci/engine/script.h @@ -260,9 +260,10 @@ public: int relocateOffsetSci3(uint32 offset) const; /** - * Gets an offset to the beginning of the code block in a SCI3 script + * Gets an offset to the beginning of the code block in a SCI1.1 or later + * script */ - int getCodeBlockOffsetSci3() { return _buf->getInt32SEAt(0); } + int getCodeBlockOffset() { return _codeOffset; } /** * Get the offset array |