shithub: choc

Download patch

ref: 8e3a7b4b8d62d6d934ddf04eb0cdc2b50b35a8d2
parent: d6817d2d1d7e829e2e8bd1e9503c064428901968
author: Turo Lamminen <turotl@gmail.com>
date: Tue Dec 11 14:00:18 EST 2018

hexen: Fix const correctness issue in TryPickupArtifact

--- a/src/hexen/p_inter.c
+++ b/src/hexen/p_inter.c
@@ -711,7 +711,7 @@
 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,