diff options
author | Mikko Tiusanen <ams@daug.net> | 2014-09-10 22:37:59 +0300 |
---|---|---|
committer | Mikko Tiusanen <ams@daug.net> | 2014-09-10 22:37:59 +0300 |
commit | c9ee8af98ce89fe2ffbe4389345a58899f3b3534 (patch) | |
tree | 8b120a592e6fcf07c6b19f79e1142203babb2e14 /src/game | |
parent | d9e16d525aae37568fe0d564ce32bb00b60e5cb5 (diff) |
Added newline at end of inactivity log message.
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_active.c | 12 | ||||
-rw-r--r-- | 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; |