mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-09 22:31:42 +00:00
Fix original bug, picking up the ammo pack reduces max fletchettes.
Flachettes have a base maximum of 200. Picking up the bandolier increases it to 250. Picking up the ammo pack afterwards reset the maximum to 200. Fix this by setting the maximum after picking up the ammo pack to 300.
This commit is contained in:
parent
f0a8e88abc
commit
bd0019db85
1 changed files with 2 additions and 2 deletions
|
@ -405,9 +405,9 @@ Pickup_Pack(edict_t *ent, edict_t *other)
|
|||
other->client->pers.max_slugs = 100;
|
||||
}
|
||||
|
||||
if (other->client->pers.max_flechettes < 200)
|
||||
if (other->client->pers.max_flechettes < 300)
|
||||
{
|
||||
other->client->pers.max_flechettes = 200;
|
||||
other->client->pers.max_flechettes = 300;
|
||||
}
|
||||
|
||||
if (g_disruptor->value)
|
||||
|
|
Loading…
Reference in a new issue