diff options
author | M. Kristall <mkpdev@gmail.com> | 2010-03-02 20:09:53 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:29 +0000 |
commit | 0a088339d9d946d9b2bea208d66bf9f21f6d9378 (patch) | |
tree | 8aec3ffc0d55b5c191849231ea2909ce3accb5fe | |
parent | af1497d4f6974219a6a81821dc5d8a00343722cc (diff) |
* Do not separately log fake destructions of marked structures (from r1961)
-rw-r--r-- | src/game/g_combat.c | 4 |
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 ) { |