diff options
author | Filippos Karapetis | 2010-11-17 12:33:55 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-11-17 12:33:55 +0000 |
commit | 58e4d9a97a90d98be37863a519d377fd4a313192 (patch) | |
tree | c45960ff8b202c5dd45223089e97a6208e17e4ea /engines/sci | |
parent | ee4770ffb6be50008d129ba52a5dd6f46a7d16cd (diff) | |
download | scummvm-rg350-58e4d9a97a90d98be37863a519d377fd4a313192.tar.gz scummvm-rg350-58e4d9a97a90d98be37863a519d377fd4a313192.tar.bz2 scummvm-rg350-58e4d9a97a90d98be37863a519d377fd4a313192.zip |
SCI: Fixed the return values of Object::relocateSci3()
svn-id: r54289
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/segment.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/segment.cpp b/engines/sci/engine/segment.cpp index 688c35f996..b2eac9f7aa 100644 --- a/engines/sci/engine/segment.cpp +++ b/engines/sci/engine/segment.cpp @@ -441,11 +441,11 @@ bool Object::relocateSci3(SegmentId segment, int location, int offset, size_t sc if (location == _propertyOffsetsSci3[i]) { _variables[i].segment = segment; _variables[i].offset += offset; - return 1; + return true; } } - return -1; + return false; } int Object::propertyOffsetToId(SegManager *segMan, int propertyOffset) const { |