add a missing '\n', remove some unwanted ones
From /dev/humancontroller.
This commit is contained in:
parent
c3ca5c1caa
commit
a4c61d874d
7 changed files with 8 additions and 8 deletions
|
@ -950,7 +950,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:
|
||||
case ET_PUSH_TRIGGER:
|
||||
|
|
|
@ -1442,12 +1442,12 @@ void CG_LoadMenus(const char *menuFile) {
|
|||
Com_Printf( S_COLOR_YELLOW "menu file not found: %s, using default\n", 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 ) {
|
||||
trap_Error( va( S_COLOR_RED "menu file too large: %s is %i, max allowed is %i\n", menuFile, len, MAX_MENUDEFFILE ) );
|
||||
trap_Error( va( S_COLOR_RED "menu file too large: %s is %i, max allowed is %i", menuFile, len, MAX_MENUDEFFILE ) );
|
||||
trap_FS_FCloseFile( f );
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1275,7 +1275,7 @@ void CG_ParticleExplosion (char *animStr, vec3_t origin, vec3_t vel, int duratio
|
|||
break;
|
||||
}
|
||||
if (!shaderAnimNames[anim]) {
|
||||
CG_Error("CG_ParticleExplosion: unknown animation string: %s\n", animStr);
|
||||
CG_Error("CG_ParticleExplosion: unknown animation string: %s", animStr);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue