diff options
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 { |