diff options
author | Walter van Niftrik | 2010-01-01 23:48:22 +0000 |
---|---|---|
committer | Walter van Niftrik | 2010-01-01 23:48:22 +0000 |
commit | 205f7437ea668be302e22b278a106f27af23fabf (patch) | |
tree | b93b8fa5dc7996852b4dde908069da1041387197 /engines/sci/engine/segment.h | |
parent | 137744c40c5e5ab717c364a113cf5e83ca104663 (diff) | |
download | scummvm-rg350-205f7437ea668be302e22b278a106f27af23fabf.tar.gz scummvm-rg350-205f7437ea668be302e22b278a106f27af23fabf.tar.bz2 scummvm-rg350-205f7437ea668be302e22b278a106f27af23fabf.zip |
SCI: Fix segfault in dual-language KQ5.
svn-id: r46864
Diffstat (limited to 'engines/sci/engine/segment.h')
-rw-r--r-- | engines/sci/engine/segment.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h index d8cdd91da8..62f970722e 100644 --- a/engines/sci/engine/segment.h +++ b/engines/sci/engine/segment.h @@ -381,6 +381,12 @@ public: Object *scriptObjInit(reg_t obj_pos); /** + * Removes a script object + * @param obj_pos Location (segment, offset) of the object. + */ + void scriptObjRemove(reg_t obj_pos); + + /** * Processes a relocation block witin a script * This function is idempotent, but it must only be called after all * objects have been instantiated, or a run-time error will occur. |