Changed the knifes fix a bit

This commit is contained in:
Richard Allen 2002-01-21 20:03:15 +00:00
parent b81bba506f
commit 756a8f32d4

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.3 2002/01/21 20:03:15 jbravo
// Changed the knifes fix a bit
//
// Revision 1.2 2002/01/21 19:52:31 jbravo
// Fixed a bug that didnt allow knifes to be selected as primary weapon
//
@ -524,11 +527,7 @@ void EquipPlayer (gentity_t *ent)
ent->client->ps.ammo[ WP_HANDCANNON ] = RQ3_HANDCANNON_AMMO;
break;
case WP_KNIFE:
if (bandolierFactor == 2) {
ent->client->ps.ammo[ WP_KNIFE ] = 20;
} else {
ent->client->ps.ammo[ WP_KNIFE ] = 10;
}
ent->client->ps.ammo[ WP_KNIFE ] = 10 * bandolierFactor;
break;
default:
break;