summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2005-08-05 02:09:00 +0000
committerTim Angus <tim@ngus.net>2005-08-05 02:09:00 +0000
commitfe0d776b466a8787b0185f7683d0866891919b53 (patch)
tree496be407fb5ad8e1ba6459d0da6062425df8d7e8 /src/game/g_cmds.c
parentf312c4912674b13fa07b8576f2e6c4ed96c9ec79 (diff)
* Disabled weapon dropping after buying ammo for now
* Basilisk now loosens grip if getting damaged
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index abea0146..5199bd66 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1518,8 +1518,9 @@ static void G_GiveClientMaxAmmo( gentity_t *ent, qboolean buyingEnergyAmmo )
quan, clips, maxClips );
//force a weapon change
- ent->client->ps.pm_flags |= PMF_WEAPON_SWITCH;
- trap_SendServerCommand( ent-g_entities, va( "weaponswitch %d", ent->client->ps.weapon ) );
+ //FIXME: needs to work even if weapon is the same
+ //ent->client->ps.pm_flags |= PMF_WEAPON_SWITCH;
+ //trap_SendServerCommand( ent-g_entities, va( "weaponswitch %d", ent->client->ps.weapon ) );
}
}
}