diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_cmds.c | 2 | ||||
-rw-r--r-- | src/game/g_combat.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index c015a210..7903590f 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -1954,7 +1954,7 @@ void Cmd_Destroy_f( gentity_t *ent ) } else { - G_LogDestruction( traceEnt, ent, MOD_UNKNOWN ); + G_LogDestruction( traceEnt, ent, MOD_DECONSTRUCT ); G_FreeEntity( traceEnt ); } diff --git a/src/game/g_combat.c b/src/game/g_combat.c index c153eb82..0715266d 100644 --- a/src/game/g_combat.c +++ b/src/game/g_combat.c @@ -1354,11 +1354,11 @@ void G_LogDestruction( gentity_t *self, gentity_t *actor, int mod ) G_TeamCommand( actor->client->ps.stats[ STAT_TEAM ], va( "print \"%s ^3%s^7 by %s\n\"", BG_Buildable( self->s.modelindex )->humanName, - mod == MOD_UNKNOWN ? "DECONSTRUCTED" : "DESTROYED", + mod == MOD_DECONSTRUCT ? "DECONSTRUCTED" : "DESTROYED", actor->client->pers.netname ) ); } - if( mod == MOD_UNKNOWN ) + if( mod == MOD_DECONSTRUCT ) G_LogPrintf( "Decon: %d %d %d: %s^7 deconstructed %s\n", actor->client->ps.clientNum, self->s.modelindex, |