foxygit / doom Log in
commit 04e497d8555d6942f3523dd50c2021c1358cd831
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 29 19:15:00 2019 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 29 19:15:00 2019 +0200

    strife: Make gamedescription variable const
---
 src/strife/doomstat.c | 2 +-
 src/strife/doomstat.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/strife/doomstat.c b/src/strife/doomstat.c
index e4f80e45..7f3116b5 100644
--- a/src/strife/doomstat.c
+++ b/src/strife/doomstat.c
@@ -25,7 +25,7 @@
 GameMode_t gamemode = indetermined;
 GameMission_t	gamemission = doom;
 GameVersion_t   gameversion = exe_strife_1_31;
-char *gamedescription;
+const char *gamedescription;

 // Set if homebrew PWAD stuff has been added.
 boolean	modifiedgame;
diff --git a/src/strife/doomstat.h b/src/strife/doomstat.h
index 427c5bf9..e6c65bdd 100644
--- a/src/strife/doomstat.h
+++ b/src/strife/doomstat.h
@@ -58,7 +58,7 @@ extern  boolean	devparm;	// DEBUG: launched with -devparm
 extern GameMode_t	gamemode;
 extern GameMission_t	gamemission;
 extern GameVersion_t    gameversion;
-extern char            *gamedescription;
+extern const char       *gamedescription;

 // Set if homebrew PWAD stuff has been added.
 extern  boolean	modifiedgame;