hexen: Make SC_ScriptError parameter const
This commit is contained in:
parent
6f1d394d40
commit
0e86f377a3
2 changed files with 2 additions and 2 deletions
|
|
@ -918,7 +918,7 @@ void SC_UnGet(void);
|
|||
boolean SC_Compare(char *text);
|
||||
int SC_MatchString(char **strings);
|
||||
int SC_MustMatchString(char **strings);
|
||||
void SC_ScriptError(char *message);
|
||||
void SC_ScriptError(const char *message);
|
||||
|
||||
extern char *sc_String;
|
||||
extern int sc_Number;
|
||||
|
|
|
|||
|
|
@ -446,7 +446,7 @@ boolean SC_Compare(char *text)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
void SC_ScriptError(char *message)
|
||||
void SC_ScriptError(const char *message)
|
||||
{
|
||||
if (message == NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue