aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-14 16:57:43 +0000
committerFilippos Karapetis2010-06-14 16:57:43 +0000
commit60eced7a81c37d3db7c5fffee2d34463f8313e9d (patch)
treecd51fb538b74a66fa7cfbd7992366007d444e9e6
parentb04269e7e4ebaf36e654f0604602dd64dee48211 (diff)
downloadscummvm-rg350-60eced7a81c37d3db7c5fffee2d34463f8313e9d.tar.gz
scummvm-rg350-60eced7a81c37d3db7c5fffee2d34463f8313e9d.tar.bz2
scummvm-rg350-60eced7a81c37d3db7c5fffee2d34463f8313e9d.zip
Cleanup
svn-id: r49662
-rw-r--r--engines/sci/engine/kscripts.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/sci/engine/kscripts.cpp b/engines/sci/engine/kscripts.cpp
index 722d0175d1..c6d73556ba 100644
--- a/engines/sci/engine/kscripts.cpp
+++ b/engines/sci/engine/kscripts.cpp
@@ -160,19 +160,6 @@ reg_t kDisposeClone(EngineState *s, int argc, reg_t *argv) {
return s->r_acc;
}
- // QFG3 clears clones with underbits set
- //if (readSelectorValue(victim_addr, underBits))
- // warning("Clone %04x:%04x was cleared with underBits set", PRINT_REG(victim_addr));
-
-#if 0
- if (s->dyn_views) { // Free any widget associated with the clone
- GfxWidget *widget = gfxw_set_id(gfxw_remove_ID(s->dyn_views, offset), GFXW_NO_ID);
-
- if (widget && s->bg_widgets)
- s->bg_widgets->add(GFXWC(s->bg_widgets), widget);
- }
-#endif
-
victim_obj->markAsFreed();
return s->r_acc;