summaryrefslogtreecommitdiff
path: root/src/cgame
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/cgame
parent0c7b64fd8051a123864b8fe813d845bfa2b066cf (diff)
remove some '\n's from strings passed to error calls
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_draw.c2
-rw-r--r--src/cgame/cg_ents.c2
-rw-r--r--src/cgame/cg_main.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index c334490d..4d70b343 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -2463,7 +2463,7 @@ void CG_DrawWeaponIcon( rectDef_t *rect, vec4_t color )
if( weapon <= WP_NONE || weapon >= WP_NUM_WEAPONS )
{
- CG_Error( "CG_DrawWeaponIcon: weapon out of range: %d\n", weapon );
+ CG_Error( "CG_DrawWeaponIcon: weapon out of range: %d", weapon );
return;
}
diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c
index 48545715..d32318e7 100644
--- a/src/cgame/cg_ents.c
+++ b/src/cgame/cg_ents.c
@@ -1086,7 +1086,7 @@ static void CG_AddCEntity( centity_t *cent )
switch( cent->currentState.eType )
{
default:
- CG_Error( "Bad entity type: %i\n", cent->currentState.eType );
+ CG_Error( "Bad entity type: %i", cent->currentState.eType );
break;
case ET_INVISIBLE:
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c
index 6699fa1f..99d267ee 100644
--- a/src/cgame/cg_main.c
+++ b/src/cgame/cg_main.c
@@ -1438,11 +1438,11 @@ void CG_LoadMenus( const char *menuFile )
if( !f )
{
- trap_Error( va( S_COLOR_YELLOW "menu file not found: %s, using default\n", menuFile ) );
+ trap_Error( va( S_COLOR_YELLOW "menu file not found: %s, using default", menuFile ) );
len = trap_FS_FOpenFile( "ui/hud.txt", &f, FS_READ );
if( !f )
- trap_Error( va( S_COLOR_RED "default menu file not found: ui/hud.txt, unable to continue!\n" ) );
+ trap_Error( va( S_COLOR_RED "default menu file not found: ui/hud.txt, unable to continue!" ) );
}
if( len >= MAX_MENUDEFFILE )