From 5d767c6b3082db11ca125a995b7a546de1d3b452 Mon Sep 17 00:00:00 2001 From: Dremor8484 <104323765+Dremor8484@users.noreply.github.com> Date: Mon, 20 Mar 2023 15:47:12 +0100 Subject: [PATCH] Update g_items.c ammopak usually increase the maximum ammo, even beyond the bandolier. i suppose there is a bug with fletchette ammo. fletchette starts with 200 max ammo, becomes 250 max ammo with bandolier and returns to 200 max ammo with ammopack. on the contrary both cells and bullets start at 200, becomes 250 with bandolier and 300 with ammopack. --- src/g_items.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/g_items.c b/src/g_items.c index 0b40874..a13088d 100644 --- a/src/g_items.c +++ b/src/g_items.c @@ -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)