summaryrefslogtreecommitdiffhomepage
path: root/editor/vobj-editor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-08-11 12:12:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-08-12 12:25:56 +0200
commit32e5545c8c50f0d16adde2aef9d7b50de01c90b2 (patch)
tree6856da067a755a28bf9b4474c07c1fcc0c155789 /editor/vobj-editor.cpp
parent7576ba2309c33ae894d9a870f7fbe106d94d3750 (diff)
remove object::gone
With `bptr::destroy()` there's no need to be extra careful anymore.
Diffstat (limited to 'editor/vobj-editor.cpp')
-rw-r--r--editor/vobj-editor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/vobj-editor.cpp b/editor/vobj-editor.cpp
index 4c2828e1..7e7dde15 100644
--- a/editor/vobj-editor.cpp
+++ b/editor/vobj-editor.cpp
@@ -61,7 +61,6 @@ start:
e.destroy_script_pre(eʹ, script_destroy_reason::kill);
c.remove_object((unsigned)i);
e.destroy_script_post();
- e.gone = true;
eʹ.destroy();
goto start;
}