Fix several printf in the client.

Submitted by: Ozkan Sezer
This commit is contained in:
Yamagi Burmeister 2015-08-24 17:52:57 +02:00
parent cfefe0c00c
commit 5ad7b1e72d
4 changed files with 6 additions and 6 deletions

View File

@ -300,7 +300,7 @@ CL_Setenv_f(void)
else
{
Com_Printf("%s undefined\n", Cmd_Argv(1), env);
Com_Printf("%s undefined\n", Cmd_Argv(1));
}
}
}

View File

@ -201,7 +201,7 @@ CL_Connect_f(void)
{
/* if running a local server, kill it and reissue
note: this is connect with the save game system */
SV_Shutdown(va("Server quit\n", msg), false);
SV_Shutdown("Server quit\n", false);
}
else

View File

@ -987,7 +987,7 @@ CL_LoadClientinfo(clientinfo_t *ci, char *s)
{
/* see if the skin exists for the male model */
Com_sprintf(skin_filename, sizeof(skin_filename),
"players/%s/grunt.pcx", model_name, skin_name);
"players/%s/grunt.pcx", model_name);
ci->skin = R_RegisterSkin(skin_filename);
}

View File

@ -307,7 +307,7 @@ CL_PrepRefresh(void)
}
}
Com_Printf("images\r", i);
Com_Printf("images\r");
SCR_UpdateScreen();
for (i = 1; i < MAX_IMAGES && cl.configstrings[CS_IMAGES + i][0]; i++)
@ -335,7 +335,7 @@ CL_PrepRefresh(void)
CL_LoadClientinfo(&cl.baseclientinfo, "unnamed\\male/grunt");
/* set sky textures and speed */
Com_Printf("sky\r", i);
Com_Printf("sky\r");
SCR_UpdateScreen();
rotate = (float)strtod(cl.configstrings[CS_SKYROTATE], (char **)NULL);
sscanf(cl.configstrings[CS_SKYAXIS], "%f %f %f", &axis[0], &axis[1], &axis[2]);