From c9ee8af98ce89fe2ffbe4389345a58899f3b3534 Mon Sep 17 00:00:00 2001 From: Mikko Tiusanen Date: Wed, 10 Sep 2014 22:37:59 +0300 Subject: Added newline at end of inactivity log message. --- src/game/g_active.c | 12 ++++++------ src/game/g_missile.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 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" ); } diff --git a/src/game/g_missile.c b/src/game/g_missile.c index 0cf7c5d..a69b4fc 100644 --- a/src/game/g_missile.c +++ b/src/game/g_missile.c @@ -1693,9 +1693,9 @@ gentity_t *Prickles_Fire( gentity_t *self, vec3_t start, vec3_t dir ) gentity_t *bolt; VectorNormalize ( dir ); - bolt = G_Spawn( ); + bolt = G_Spawn( ); bolt->classname = "prickles"; - bolt->pointAgainstWorld = qtrue; + bolt->pointAgainstWorld = qtrue; bolt->nextthink = level.time + LEVEL5_PRICKLES_NEXTTHINK; bolt->think = G_ExplodeMissile; bolt->s.eType = ET_MISSILE; @@ -1705,10 +1705,10 @@ gentity_t *Prickles_Fire( gentity_t *self, vec3_t start, vec3_t dir ) bolt->r.ownerNum = self->s.number; bolt->parent = self; bolt->damage = LEVEL5_PRICKLES_DMG; - bolt->splashDamage = LEVEL5_PRICKLESSPLASH_DMG; - bolt->splashRadius = LEVEL5_PRICKLES_RADIUS; - bolt->methodOfDeath = MOD_LEVEL5_PRICKLES; - bolt->splashMethodOfDeath = MOD_LEVEL5_PRICKLES; + bolt->splashDamage = LEVEL5_PRICKLESSPLASH_DMG; + bolt->splashRadius = LEVEL5_PRICKLES_RADIUS; + bolt->methodOfDeath = MOD_LEVEL5_PRICKLES; + bolt->splashMethodOfDeath = MOD_LEVEL5_PRICKLES; bolt->clipmask = MASK_SHOT; bolt->target_ent = NULL; bolt->s.pos.trType = TR_LINEAR; -- cgit