summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_local.h3
-rw-r--r--src/game/g_weapon.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index f8094715..6d3c8853 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -964,6 +964,9 @@ typedef struct zap_s
gentity_t *effectChannel;
} zap_t;
+#define MAX_ZAPS MAX_CLIENTS
+extern zap_t zaps[ MAX_ZAPS ];
+
void G_ForceWeaponChange( gentity_t *ent, weapon_t weapon );
void G_GiveClientMaxAmmo( gentity_t *ent, qboolean buyingEnergyAmmo );
void CalcMuzzlePoint( gentity_t *ent, vec3_t forward, vec3_t right, vec3_t up, vec3_t muzzlePoint );
diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c
index e6b0172a..08f2d1eb 100644
--- a/src/game/g_weapon.c
+++ b/src/game/g_weapon.c
@@ -1010,9 +1010,8 @@ LEVEL2
======================================================================
*/
-#define MAX_ZAPS MAX_CLIENTS
-static zap_t zaps[ MAX_ZAPS ];
+zap_t zaps[ MAX_ZAPS ];
/*
===============