SCI: Fixed the return values of Object::relocateSci3()
svn-id: r54289
This commit is contained in:
parent
ee4770ffb6
commit
58e4d9a97a
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue