Started rewriting the Object struct into a class

svn-id: r44878
This commit is contained in:
Filippos Karapetis committed 2009-10-10 15:58:51 +00:00
1 parent 8fd29ecf9f
commit d6f5d93dbf
12 files changed
+165 -204

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ int propertyOffsetToId(SegManager *segMan, int prop_ofs, reg_t objp) {
return -1;
}
selectors = obj->_variables.size();
selectors = obj->getVarCount();
if (getSciVersion() < SCI_VERSION_1_1)
selectoroffset = ((byte *)(obj->base_obj)) + SCRIPT_SELECTOR_OFFSET + selectors * 2;