sbar: constify Sbar_DrawString and make static

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2012-12-22 14:57:18 +10:30
parent 5cfc68ee97
commit 725e244599
2 changed files with 4 additions and 4 deletions

View File

@ -326,8 +326,8 @@ Sbar_DrawCharacter(int x, int y, int num)
Sbar_DrawString
================
*/
void
Sbar_DrawString(int x, int y, char *str)
static void
Sbar_DrawString(int x, int y, const char *str)
{
if (cl.gametype == GAME_DEATHMATCH)
Draw_String(x /*+ ((vid.width - 320)>>1) */ ,

View File

@ -296,8 +296,8 @@ Sbar_DrawCharacter(int x, int y, int num)
Sbar_DrawString
================
*/
void
Sbar_DrawString(int x, int y, char *str)
static void
Sbar_DrawString(int x, int y, const char *str)
{
Draw_String(x /*+ ((vid.width - 320)>>1) */ ,
y + vid.height - SBAR_HEIGHT, str);