freebsd-ports/games/quake2-psychomod/files/patch-src__g_items.c
Alejandro Pulver aa3e03a8dd - Fix building with GCC 4.x.
Reported by:	pointyhat
2007-01-10 22:22:30 +00:00

15 lines
485 B
C

--- ./src/g_items.c.orig Wed Oct 10 12:53:12 2001
+++ ./src/g_items.c Wed Jan 10 19:11:41 2007
@@ -21,9 +21,9 @@
gitem_armor_t combatarmor_info = { 50, 100, .60, .30, ARMOR_COMBAT};
gitem_armor_t bodyarmor_info = {100, 200, .80, .60, ARMOR_BODY};
-static int jacket_armor_index;
-static int combat_armor_index;
-static int body_armor_index;
+int jacket_armor_index;
+int combat_armor_index;
+int body_armor_index;
static int power_screen_index;
static int power_shield_index;