SW: Fix const correctness issues.

Patch from Striker.

git-svn-id: https://svn.eduke32.com/eduke32@7499 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2019-04-08 06:25:22 +00:00 committed by Christoph Oelckers
parent b6d794ddba
commit 61446c0995
29 changed files with 113 additions and 112 deletions

View file

@ -122,10 +122,11 @@ int gametext(int x,int y,char *t,char s,short dabits)
return x;
}
int minigametext(int x,int y,char *t,char s,short dabits)
int minigametext(int x,int y,const char *t,char s,short dabits)
{
short ac,newx;
char centre, *oldt;
char centre;
const char *oldt;
centre = (x == (320>>1));
newx = 0;
@ -215,7 +216,7 @@ int quotebot, quotebotgoal;
short user_quote_time[MAXUSERQUOTES];
char user_quote[MAXUSERQUOTES][256];
void adduserquote(char *daquote)
void adduserquote(const char *daquote)
{
int i;