summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index caa5f990..c6ac1b5b 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1979,6 +1979,7 @@ void Cmd_Destroy_f( gentity_t *ent )
}
G_Damage( traceEnt, ent, ent, forward, tr.endpos,
traceEnt->health, 0, MOD_DECONSTRUCT );
+ G_RemoveRangeMarkerFrom( traceEnt );
G_FreeEntity( traceEnt );
}
}