commit a5b17c11a954715ccea55fc0c9b86a848c04a889
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Jan 29 19:37:22 2019 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Jan 29 19:37:22 2019 +0200
strife: Fix const correctness issue in P_UseInventoryItem
---
src/strife/p_user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/strife/p_user.c b/src/strife/p_user.c
index bf082e99..7aa5b6a9 100644
--- a/src/strife/p_user.c
+++ b/src/strife/p_user.c
@@ -841,7 +841,7 @@ boolean P_SpawnTeleportBeacon(player_t* player)
boolean P_UseInventoryItem(player_t* player, int item)
{
int i;
- char* name;
+ const char *name;
if(player->cheats & CF_ONFIRE)
return false;