mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2025-01-31 13:11:53 +00:00
sbar: constify Sbar_DrawString and make static
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
parent
5cfc68ee97
commit
725e244599
@ -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) */ ,
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user