summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h3
1 files changed, 3 insertions, 0 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 );