summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
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 )