summaryrefslogtreecommitdiff
path: root/src/game/g_physics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_physics.c')
-rw-r--r--src/game/g_physics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_physics.c b/src/game/g_physics.c
index 455d3a6e..9e5b23d5 100644
--- a/src/game/g_physics.c
+++ b/src/game/g_physics.c
@@ -153,6 +153,8 @@ void G_Physics( gentity_t *ent, int msec )
contents = trap_PointContents( ent->r.currentOrigin, -1 );
if( contents & CONTENTS_NODROP )
{
+ if( ent->s.eType == ET_BUILDABLE )
+ G_RemoveRangeMarkerFrom( ent );
G_FreeEntity( ent );
return;
}