mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 14:30:48 +00:00
Fix several printf in the client.
Submitted by: Ozkan Sezer
This commit is contained in:
parent
cfefe0c00c
commit
5ad7b1e72d
4 changed files with 6 additions and 6 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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]);
|
||||
|
@ -454,7 +454,7 @@ entitycmpfnc(const entity_t *a, const entity_t *b)
|
|||
else
|
||||
{
|
||||
return (a->model == b->model) ? 0 :
|
||||
(a->model > b->model) ? 1 : -1;
|
||||
(a->model > b->model) ? 1 : -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue