mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
Started rewriting the Object struct into a class
svn-id: r44878
This commit is contained in:
1 parent
8fd29ecf9f
commit
d6f5d93dbf
12 files changed
+165
-204
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user