From a046d3807ede9722881232fa235d58504bd839bd Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Mon, 13 Jun 2016 11:11:02 -0400 Subject: [PATCH] strings return by M_GetText() can not be changed --- src/p_inter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_inter.c b/src/p_inter.c index 884b22ad..cf5512a1 100644 --- a/src/p_inter.c +++ b/src/p_inter.c @@ -3626,7 +3626,7 @@ void P_PlayerFlagBurst(player_t *player, boolean toss) // Flag text { char plname[MAXPLAYERNAME+4]; - char *flagtext; + const char *flagtext; char flagcolor; snprintf(plname, sizeof(plname), "%s%s%s",