summaryrefslogtreecommitdiff
path: root/src/game/g_combat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_combat.c')
-rw-r--r--src/game/g_combat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index bf7a01b8..b33e9bc8 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -1360,6 +1360,10 @@ void G_LogDestruction( gentity_t *self, gentity_t *actor, int mod )
if( !actor )
return;
+ // don't log when marked structures are removed
+ if( mod == MOD_DECONSTRUCT && !actor->client )
+ return;
+
if( actor->client && actor->client->pers.teamSelection ==
BG_Buildable( self->s.modelindex )->team )
{