foxygit / doom Log in
commit 78b0a9cf90c8f0b1f4b27adba453a8c38bace5c1
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue May 15 20:11:36 2018 +0300
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue May 15 20:11:51 2018 +0300

    strife: Make dialogname variable const
---
 src/strife/p_dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/strife/p_dialog.c b/src/strife/p_dialog.c
index ed00259d..12397fee 100644
--- a/src/strife/p_dialog.c
+++ b/src/strife/p_dialog.c
@@ -375,7 +375,7 @@ static menu_t dialogmenu =
 static int dialogbgpiclumpnum;

 // Name of current speaking character.
-static char *dialogname;
+static const char *dialogname;

 // Current dialog text.
 static const char *dialogtext;