From 741ddb89552f73f13e6adba4503742bcc0065a61 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 3 Oct 2009 12:47:32 +0000 Subject: * Replace BG_(Un)PackZapTargets with more generic and less muddled BG_(Un)PackEntityNumbers --- src/game/g_local.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/game/g_local.h') diff --git a/src/game/g_local.h b/src/game/g_local.h index d9eca24a..08a13ca9 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -864,14 +864,12 @@ void ShineTorch( gentity_t *self ); // g_weapon.c // -#define MAX_ZAP_TARGETS LEVEL2_AREAZAP_MAX_TARGETS - typedef struct zap_s { qboolean used; gentity_t *creator; - gentity_t *targets[ MAX_ZAP_TARGETS ]; + gentity_t *targets[ LEVEL2_AREAZAP_MAX_TARGETS ]; int numTargets; int timeToLive; -- cgit