commit 8e3a7b4b8d62d6d934ddf04eb0cdc2b50b35a8d2
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Dec 11 19:00:18 2018 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Dec 11 19:00:18 2018 +0200
hexen: Fix const correctness issue in TryPickupArtifact
---
src/hexen/p_inter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hexen/p_inter.c b/src/hexen/p_inter.c
index 3908eef0..8edb3ac7 100644
--- a/src/hexen/p_inter.c
+++ b/src/hexen/p_inter.c
@@ -711,7 +711,7 @@ boolean P_GivePower(player_t * player, powertype_t power)
static void TryPickupArtifact(player_t * player, artitype_t artifactType,
mobj_t * artifact)
{
- static char *artifactMessages[NUMARTIFACTS] = {
+ static const char *artifactMessages[NUMARTIFACTS] = {
NULL,
TXT_ARTIINVULNERABILITY,
TXT_ARTIHEALTH,