diff options
author | Ben Millwood <thebenmachine@gmail.com> | 2009-10-03 11:46:46 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:20 +0000 |
commit | e18c96ca9043acf36d77ae7fc40d6161639c708d (patch) | |
tree | e4f6b6ba87a7b90c8744e0557d10cc23d195361b /src | |
parent | 52e71716f0c0bc119738c6a9951e0e85638bff04 (diff) |
* Fix tabs
* Fix bsuits
* Um.
Diffstat (limited to 'src')
-rw-r--r-- | src/game/g_active.c | 2 | ||||
-rw-r--r-- | src/game/g_cmds.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index cbc9aa5c..a6d99691 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -407,7 +407,7 @@ void SpectatorThink( gentity_t *ent, usercmd_t *ucmd ) !( client->oldbuttons & BUTTON_USE_HOLDABLE ); // We are in following mode only if we are following a non-spectating client - following = client->sess.spectatorState != SPECTATOR_FOLLOW; + following = client->sess.spectatorState == SPECTATOR_FOLLOW; if( following ) { clientNum = client->sess.spectatorClient; diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index 566b533a..dff03fbc 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2063,8 +2063,7 @@ void Cmd_Buy_f( gentity_t *ent ) weapon = BG_WeaponByName( s )->number; upgrade = BG_UpgradeByName( s )->number; - // Seems odd to let people 'buy ammo' from a Reactor but allow this - // and make sure we only give energy ammo in this case + // Only give energy from reactors or repeaters if( G_BuildableRange( ent->client->ps.origin, 100, BA_H_ARMOURY ) ) energyOnly = qfalse; else if( upgrade == UP_AMMO && BG_HasEnergyWeapon( &ent->client->ps ) && |