summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorMikko Tiusanen <ams@daug.net>2014-09-10 22:37:59 +0300
committerMikko Tiusanen <ams@daug.net>2014-09-10 22:37:59 +0300
commitc9ee8af98ce89fe2ffbe4389345a58899f3b3534 (patch)
tree8b120a592e6fcf07c6b19f79e1142203babb2e14 /src/game/g_active.c
parentd9e16d525aae37568fe0d564ce32bb00b60e5cb5 (diff)
Added newline at end of inactivity log message.
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index af29923..f36ec46 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -716,16 +716,16 @@ static qboolean ClientInactivityTimer( gentity_t *ent, qboolean active )
va( "print \"%s^7 moved from %s to spectators due to inactivity\n\"",
client->pers.netname,
BG_TeamName( client->pers.teamSelection ) ) );
- G_LogPrintf( "Inactivity: %d", client - level.clients );
+ G_LogPrintf( "Inactivity: %d\n", client - level.clients );
G_ChangeTeam( ent, TEAM_NONE );
}
else
{
- trap_SendServerCommand( -1,
- va( "print \"%s^7 moved from %s to spectators due to inactivity\n\"",
- client->pers.netname,
- BG_TeamName( client->pers.teamSelection ) ) );
- G_LogPrintf( "Inactivity: %d", client - level.clients );
+ trap_SendServerCommand( -1,
+ va( "print \"%s^7 moved from %s to spectators due to inactivity\n\"",
+ client->pers.netname,
+ BG_TeamName( client->pers.teamSelection ) ) );
+ G_LogPrintf( "Inactivity: %d\n", client - level.clients );
G_ChangeTeam( ent, TEAM_NONE );
//trap_DropClient( client - level.clients, "Dropped due to inactivity" );
}