summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 12:47:32 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:14 +0000
commit741ddb89552f73f13e6adba4503742bcc0065a61 (patch)
treeb6a659c5f087e58a59d938d9b909e04a6cda3e4a /src/game/g_local.h
parentc4fe8300adef0b3d63152c419f9411f14eb41831 (diff)
* Replace BG_(Un)PackZapTargets with more generic and less muddled BG_(Un)PackEntityNumbers
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h4
1 files changed, 1 insertions, 3 deletions
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;