summaryrefslogtreecommitdiff
path: root/src/game/unit_repl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/unit_repl.cpp')
-rw-r--r--src/game/unit_repl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/unit_repl.cpp b/src/game/unit_repl.cpp
index 8bfd835..e11d204 100644
--- a/src/game/unit_repl.cpp
+++ b/src/game/unit_repl.cpp
@@ -45,6 +45,8 @@ void unit_repl_t::on_spawn(void)
void unit_repl_t::on_death(void)
{
+ game->explosion(x);
+ delete this;
}
void unit_repl_t::render_to(render::state_t *render)