commit d6817d2d1d7e829e2e8bd1e9503c064428901968
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Dec 11 18:56:38 2018 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Dec 11 18:56:38 2018 +0200
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