mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-17 17:41:47 +00:00
Changed the knifes fix a bit
This commit is contained in:
parent
b81bba506f
commit
756a8f32d4
1 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue