From d6817d2d1d7e829e2e8bd1e9503c064428901968 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Tue, 11 Dec 2018 18:56:38 +0200 Subject: [PATCH] hexen: Fix const correctness issues in TryPickupWeaponPiece --- src/hexen/p_inter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hexen/p_inter.c b/src/hexen/p_inter.c index b7a61ba0..3908eef0 100644 --- a/src/hexen/p_inter.c +++ b/src/hexen/p_inter.c @@ -412,12 +412,12 @@ static void TryPickupWeaponPiece(player_t * player, pclass_t matchClass, boolean checkAssembled; boolean gaveWeapon; int gaveMana; - static char *fourthWeaponText[] = { + static const char *fourthWeaponText[] = { TXT_WEAPON_F4, TXT_WEAPON_C4, TXT_WEAPON_M4 }; - static char *weaponPieceText[] = { + static const char *weaponPieceText[] = { TXT_QUIETUS_PIECE, TXT_WRAITHVERGE_PIECE, TXT_BLOODSCOURGE_PIECE