ref: 3430e574e1df09e189df4d528a28578a7cff19b3
parent: a1a4a8190d09803f858c691e0f64626ce6ed4131
author: Turo Lamminen <[email protected]>
date: Tue Aug 7 14:12:10 EDT 2018
hexen: Make SC_OpenLump parameter const
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -905,7 +905,7 @@
//------------------------------
void SC_Open(char *name);
-void SC_OpenLump(char *name);
+void SC_OpenLump(const char *name);
void SC_OpenFile(char *name);
void SC_Close(void);
boolean SC_GetString(void);
--- a/src/hexen/sc_man.c
+++ b/src/hexen/sc_man.c
@@ -97,7 +97,7 @@
//
//==========================================================================
-void SC_OpenLump(char *name)
+void SC_OpenLump(const char *name)
{
OpenScript(name, LUMP_SCRIPT);
}