summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2014-07-13 19:15:19 +0200
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:13 +0100
commit80b099b6573aa7a234cafd0d2430b95fbf839f49 (patch)
treea684b8ef8c9afab18e8f28341cc8b397e1edb36b /src/game
parent0c7b64fd8051a123864b8fe813d845bfa2b066cf (diff)
remove some '\n's from strings passed to error calls
Diffstat (limited to 'src/game')
-rw-r--r--src/game/bg_voice.c4
-rw-r--r--src/game/g_client.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/game/bg_voice.c b/src/game/bg_voice.c
index 828219aa..44cfd17f 100644
--- a/src/game/bg_voice.c
+++ b/src/game/bg_voice.c
@@ -378,7 +378,7 @@ static voiceCmd_t *BG_VoiceParse( char *name )
trap_Parse_SourceFileAndLine( handle, filename, &line );
Com_Error( ERR_FATAL, "BG_VoiceParse(): "
- "parse error on line %d of %s\n", line, filename );
+ "parse error on line %d of %s", line, filename );
}
}
@@ -389,7 +389,7 @@ static voiceCmd_t *BG_VoiceParse( char *name )
trap_Parse_SourceFileAndLine( handle, filename, &line );
Com_Error( ERR_FATAL, "BG_VoiceParse(): "
- "command \"%s\" exceeds MAX_VOICE_CMD_LEN (%d) on line %d of %s\n",
+ "command \"%s\" exceeds MAX_VOICE_CMD_LEN (%d) on line %d of %s",
token.string, MAX_VOICE_CMD_LEN, line, filename );
}
diff --git a/src/game/g_client.c b/src/game/g_client.c
index 5156b3e1..b8439312 100644
--- a/src/game/g_client.c
+++ b/src/game/g_client.c
@@ -1258,7 +1258,7 @@ void ClientSpawn( gentity_t *ent, gentity_t *spawn, vec3_t origin, vec3_t angles
{
if( spawn == NULL )
{
- G_Error( "ClientSpawn: spawn is NULL\n" );
+ G_Error( "ClientSpawn: spawn is NULL" );
return;
}