SCI: Fixed the return values of Object::relocateSci3()

svn-id: r54289
This commit is contained in:
Filippos Karapetis 2010-11-17 12:33:55 +00:00
parent ee4770ffb6
commit 58e4d9a97a

View file

@ -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 {