diff --git a/NQ/sbar.c b/NQ/sbar.c index 5875037..4096ecf 100644 --- a/NQ/sbar.c +++ b/NQ/sbar.c @@ -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) */ , diff --git a/QW/client/sbar.c b/QW/client/sbar.c index 36ab483..6217ec8 100644 --- a/QW/client/sbar.c +++ b/QW/client/sbar.c @@ -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);