summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBen Millwood <thebenmachine@gmail.com>2009-10-03 13:14:10 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:34 +0000
commit0fa8ef6031aa48365bbb3d77d958395439639741 (patch)
treeea1d49dd91c0d24b0ceaa0fbdbffc83145fb01b6 /src
parent09e7beff4cfa1157ac3c7efc21d89ab3e8ae8bcf (diff)
get rid of the rest of the basiturretgrab code
Diffstat (limited to 'src')
-rw-r--r--src/game/g_buildable.c3
-rw-r--r--src/game/g_local.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index 7bebe95c..b66b3ad3 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -2828,9 +2828,6 @@ void G_BuildableThink( gentity_t *ent, int msec )
}
- if( ent->lev1Grabbed && ent->lev1GrabTime + LEVEL1_GRAB_TIME < level.time )
- ent->lev1Grabbed = qfalse;
-
if( ent->clientSpawnTime > 0 )
ent->clientSpawnTime -= msec;
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 0202be7e..ba47dcbc 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -213,8 +213,6 @@ struct gentity_s
int nextPhysicsTime; // buildables don't need to check what they're sitting on
// every single frame.. so only do it periodically
int clientSpawnTime; // the time until this spawn can spawn a client
- qboolean lev1Grabbed; // for turrets interacting with lev1s
- int lev1GrabTime; // for turrets interacting with lev1s
int credits[ MAX_CLIENTS ]; // human credits for each client
qboolean creditsHash[ MAX_CLIENTS ]; // track who has claimed credit