diff options
author | Filippos Karapetis | 2009-10-10 15:58:51 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-10 15:58:51 +0000 |
commit | d6f5d93dbf554bf7e133b0de7e675b6453736356 (patch) | |
tree | 13c1f08b23745536e400344e00a55a0d4bcb2bb4 /engines/sci/engine/scriptdebug.cpp | |
parent | 8fd29ecf9f5b7f66824b7df45e3f04dfc2b5cfeb (diff) | |
download | scummvm-rg350-d6f5d93dbf554bf7e133b0de7e675b6453736356.tar.gz scummvm-rg350-d6f5d93dbf554bf7e133b0de7e675b6453736356.tar.bz2 scummvm-rg350-d6f5d93dbf554bf7e133b0de7e675b6453736356.zip |
Started rewriting the Object struct into a class
svn-id: r44878
Diffstat (limited to 'engines/sci/engine/scriptdebug.cpp')
-rw-r--r-- | engines/sci/engine/scriptdebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index e6b5c56899..5da75638e3 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -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; |