summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-06-22 01:24:58 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-06-22 01:24:58 +0200
commit451f2ca7c8d832d2691dde2510e613373c312cd1 (patch)
tree936a5222f7b6ac947561542b48f86c264a6f72d7 /src/game/g_cmds.c
parentdc87cba52101aa4c6ad94c652460bff8520231bd (diff)
Remove Basilisk and Advanced Basilisk.
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index f75241c..33fff3f 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -505,14 +505,6 @@ void Cmd_Give_f( gentity_t *ent )
}
}
- if( Q_stricmp( name, "gas" ) == 0 )
- {
- ent->client->ps.eFlags |= EF_POISONCLOUDED;
- ent->client->lastPoisonCloudedTime = level.time;
- trap_SendServerCommand( ent->client->ps.clientNum,
- "poisoncloud" );
- }
-
if( give_all || Q_stricmp( name, "ammo" ) == 0 )
{
gclient_t *client = ent->client;
@@ -1835,7 +1827,6 @@ void Cmd_Class_f( gentity_t *ent )
if( ent->client->ps.stats[ STAT_STATE ] & SS_BOOSTED )
oldBoostTime = ent->client->boostedTime;
- oldTimeStamp = ( ent->client->ps.weapon == WP_ALEVEL1 ) ? ent->timestamp : 0;
ClientSpawn( ent, ent, ent->s.pos.trBase, ent->s.apos.trBase );
@@ -1845,11 +1836,6 @@ void Cmd_Class_f( gentity_t *ent )
ent->client->boostedTime = oldBoostTime;
ent->client->ps.stats[ STAT_STATE ] |= SS_BOOSTED;
}
- if( newClass == PCL_ALIEN_LEVEL1_UPG )
- {
- ent->timestamp = oldTimeStamp;
- ent->client->ps.ammo = 0;
- }
}
else
G_TriggerMenuArgs( clientNum, MN_A_CANTEVOLVE, newClass );