summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2002-09-03 01:57:18 +0000
committerTim Angus <tim@ngus.net>2002-09-03 01:57:18 +0000
commit01aee82bd49575f16b5701cf842f04e6b1ba7b3d (patch)
treec306eed20c91cce6221a115a173f9b6cf68da393 /src/game/g_active.c
parentbb5d52f699a403e22584aa18946a091f345662e8 (diff)
* Large purge of legacy Q3A code
* Removed Q3A team system * Removed "gametype" stuff * Removed items * Refactored buildable physics * Other general cleanups
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index 6e6b7f1b..cef172a5 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -663,38 +663,6 @@ void ClientEvents( gentity_t *ent, int oldEventSequence ) {
FireWeapon3( ent );
break;
- case EV_USE_ITEM1: // teleporter
- // drop flags in CTF
- item = NULL;
- j = 0;
-
- /*if ( ent->client->ps.powerups[ PW_REDFLAG ] ) {
- item = BG_FindItemForPowerup( PW_REDFLAG );
- i = PW_REDFLAG;
- } else if ( ent->client->ps.powerups[ PW_BLUEFLAG ] ) {
- item = BG_FindItemForPowerup( PW_BLUEFLAG );
- i = PW_BLUEFLAG;
- }*/
-
- if ( item ) {
- drop = Drop_Item( ent, item, 0 );
- // decide how many seconds it has left
- /*drop->count = ( ent->client->ps.powerups[ j ] - level.time ) / 1000;*/
- if ( drop->count < 1 ) {
- drop->count = 1;
- }
-
- /*ent->client->ps.powerups[ j ] = 0;*/
- }
-
- SelectSpawnPoint( ent->client->ps.origin, origin, angles );
- TeleportPlayer( ent, origin, angles );
- break;
-
- case EV_USE_ITEM2: // medkit
- ent->health = ent->client->ps.stats[STAT_MAX_HEALTH];
- break;
-
default:
break;
}
@@ -743,9 +711,6 @@ static int StuckInOtherClient(gentity_t *ent) {
return qfalse;
}
-//TA: rip bots
-//void BotTestSolid(vec3_t origin);
-
/*
==============
SendPendingPredictableEvents
@@ -1089,10 +1054,6 @@ void ClientThink_real( gentity_t *ent ) {
// NOTE: now copy the exact origin over otherwise clients can be snapped into solid
VectorCopy( ent->client->ps.origin, ent->r.currentOrigin );
- //test for solid areas in the AAS file
- //TA: rip bots
- //BotTestSolid(ent->r.currentOrigin);
-
// touch other objects
ClientImpacts( ent, &pm );