mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 19:20:43 +00:00
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:
parent
b6d794ddba
commit
61446c0995
29 changed files with 113 additions and 112 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue