shithub: choc

Download patch

ref: a5b17c11a954715ccea55fc0c9b86a848c04a889
parent: 8f0abe20ca8c708bba0454adfb26823e70a3d82c
author: Turo Lamminen <turotl@gmail.com>
date: Tue Jan 29 14:37:22 EST 2019

strife: Fix const correctness issue in P_UseInventoryItem

--- a/src/strife/p_user.c
+++ b/src/strife/p_user.c
@@ -841,7 +841,7 @@
 boolean P_UseInventoryItem(player_t* player, int item)
 {
     int i;
-    char* name;
+    const char *name;
 
     if(player->cheats & CF_ONFIRE)
         return false;