ref: 6f1d394d407e5b31435fe8bec4121f64bac752ec
parent: d5298aab053dde86186a877ca9984a7149b1f045
author: Turo Lamminen <[email protected]>
date: Tue Aug 7 14:14:26 EDT 2018
hexen: Make SC_OpenFile parameter const
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -906,7 +906,7 @@
void SC_Open(const char *name);
void SC_OpenLump(const char *name);
-void SC_OpenFile(char *name);
+void SC_OpenFile(const char *name);
void SC_Close(void);
boolean SC_GetString(void);
void SC_MustGetString(void);
--- a/src/hexen/sc_man.c
+++ b/src/hexen/sc_man.c
@@ -111,7 +111,7 @@
//
//==========================================================================
-void SC_OpenFile(char *name)
+void SC_OpenFile(const char *name)
{
OpenScript(name, FILE_ZONE_SCRIPT);
}