ref: a1a4a8190d09803f858c691e0f64626ce6ed4131
parent: 464c1ca1cb72976ba162b720165a7a35b5e7d96b
author: Turo Lamminen <turotl@gmail.com>
date: Tue Aug 7 14:08:01 EDT 2018
hexen: Make OpenScript name parameter const
--- a/src/hexen/sc_man.c
+++ b/src/hexen/sc_man.c
@@ -40,7 +40,7 @@
// PRIVATE FUNCTION PROTOTYPES ---------------------------------------------
static void CheckOpen(void);
-static void OpenScript(char *name, int type);
+static void OpenScript(const char *name, int type);
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
@@ -122,7 +122,7 @@
//
//==========================================================================
-static void OpenScript(char *name, int type)
+static void OpenScript(const char *name, int type)
{
SC_Close();
if (type == LUMP_SCRIPT)