foxygit / doom Log in
commit e78b5cbeb4b49920ae5bffd912d802699d55fe7f
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Sat May 5 14:42:49 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Sat May 5 14:43:14 2018 +0300

    heretic: Make player_t message member const
---
 src/heretic/doomdef.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/heretic/doomdef.h b/src/heretic/doomdef.h
index 12bb8af8..8ff670ad 100644
--- a/src/heretic/doomdef.h
+++ b/src/heretic/doomdef.h
@@ -453,7 +453,7 @@ typedef struct player_s
     int refire;                 // refired shots are less accurate

     int killcount, itemcount, secretcount;      // for intermission
-    char *message;              // hint messages
+    const char *message;        // hint messages
     int messageTics;            // counter for showing messages
     int damagecount, bonuscount;        // for screen flashing
     int flamecount;             // for flame thrower duration