SCI: Started adding methods to MemObject subclasses: constructors, destructors, dereference() (and currently commented out refs to Common::Serializable

svn-id: r40295
This commit is contained in:
Max Horn 2009-05-03 22:47:04 +00:00
parent d960c1e2a5
commit a41069d69b
7 changed files with 231 additions and 152 deletions

View file

@ -722,7 +722,7 @@ int determine_reg_type(EngineState *s, reg_t reg, int allow_invalid) {
return KSIG_NODE | KSIG_INVALID;
case MEM_OBJ_DYNMEM:
if (allow_invalid || reg.offset < (*(DynMem *)mobj).size)
if (allow_invalid || reg.offset < (*(DynMem *)mobj)._size)
return KSIG_REF;
else
return KSIG_REF | KSIG_INVALID;