diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2015-04-09 17:09:46 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2015-04-09 17:09:46 +0200 |
commit | 57ee720912a9074c5d1b2b9323d9f243d17a1973 (patch) | |
tree | 87203f7b3e2ea01f5726af59379ea0f1395dd685 /src/game/g_cmds.c | |
parent | 633697f8fb26930f4f3dc089726d76fed99595a3 (diff) | |
parent | aa8684be7efeec63cce394265609834e06bc68fa (diff) |
Merge branch 'vq3-humans'
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index f3cada7..74dea71 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -450,7 +450,7 @@ void Cmd_Give_f( gentity_t *ent ) if( trap_Argc( ) < 2 ) { ADMP( "usage: give [what]\n" ); - ADMP( "usage: valid choices are: all, health, funds [amount], stamina, " + ADMP( "usage: valid choices are: all, health, funds [amount], " "poison, gas, ammo\n" ); return; } @@ -487,9 +487,6 @@ void Cmd_Give_f( gentity_t *ent ) G_AddCreditToClient( ent->client, (short)credits, qtrue ); } - if( give_all || Q_stricmp( name, "stamina" ) == 0 ) - ent->client->ps.stats[ STAT_STAMINA ] = STAMINA_MAX; - if( Q_stricmp( name, "poison" ) == 0 ) { if( ent->client->pers.teamSelection == TEAM_HUMANS ) |