commit 1b98fb58714e590638c35fc7df9e1e587b4ed3d3
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat Dec 8 16:57:10 2018 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Sat Dec 8 16:57:10 2018 +0200
hexen: Make sc_ScriptsDir const
---
src/hexen/h2def.h | 2 +-
src/hexen/sc_man.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h
index 6c884e3c..67d6e3b3 100644
--- a/src/hexen/h2def.h
+++ b/src/hexen/h2def.h
@@ -926,7 +926,7 @@ extern int sc_Line;
extern boolean sc_End;
extern boolean sc_Crossed;
extern boolean sc_FileScripts;
-extern char *sc_ScriptsDir;
+extern const char *sc_ScriptsDir;
//------------------------------
// SN_sonix.c
diff --git a/src/hexen/sc_man.c b/src/hexen/sc_man.c
index 5412bcc2..3778fd97 100644
--- a/src/hexen/sc_man.c
+++ b/src/hexen/sc_man.c
@@ -52,7 +52,7 @@ int sc_Line;
boolean sc_End;
boolean sc_Crossed;
boolean sc_FileScripts = false;
-char *sc_ScriptsDir = "";
+const char *sc_ScriptsDir = "";
// PRIVATE DATA DEFINITIONS ------------------------------------------------