diff options
author | Filippos Karapetis | 2009-10-28 13:20:30 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-28 13:20:30 +0000 |
commit | 04ab6bc9fc831702a26c229027dada1436509b83 (patch) | |
tree | 4b0ba4fe63ef9d7b0a1d868d4cec97c53dba397b /engines/sci/engine/kscripts.cpp | |
parent | f28fe1b07423941c245e06376761054507d188c1 (diff) | |
download | scummvm-rg350-04ab6bc9fc831702a26c229027dada1436509b83.tar.gz scummvm-rg350-04ab6bc9fc831702a26c229027dada1436509b83.tar.bz2 scummvm-rg350-04ab6bc9fc831702a26c229027dada1436509b83.zip |
Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard (defined in sci.h)
svn-id: r45459
Diffstat (limited to 'engines/sci/engine/kscripts.cpp')
-rw-r--r-- | engines/sci/engine/kscripts.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/kscripts.cpp b/engines/sci/engine/kscripts.cpp index 6d0433d62a..52e66e7fb5 100644 --- a/engines/sci/engine/kscripts.cpp +++ b/engines/sci/engine/kscripts.cpp @@ -168,7 +168,9 @@ reg_t kDisposeClone(EngineState *s, int argc, reg_t *argv) { victim_obj->markAsFreed(); +#ifdef INCLUDE_OLDGFX _k_view_list_mark_free(s, victim_addr); // Free on view list, if neccessary +#endif return s->r_acc; } |