summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_combat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_combat.c b/src/game/g_combat.c
index b33e9bc8..44dfa1c1 100644
--- a/src/game/g_combat.c
+++ b/src/game/g_combat.c
@@ -1375,7 +1375,7 @@ void G_LogDestruction( gentity_t *self, gentity_t *actor, int mod )
}
G_LogPrintf( S_COLOR_YELLOW "Deconstruct: %d %d %s %s: %s %s by %s\n",
- actor - g_entities,
+ actor->client ? actor - g_entities : ENTITYNUM_WORLD,
self - g_entities,
BG_Buildable( self->s.modelindex )->name,
modNames[ mod ],