From 51f47427a24d3f499f338a168cd5c6e47c5f301f Mon Sep 17 00:00:00 2001 From: aurhat <6187373+aurhat@users.noreply.github.com> Date: Tue, 19 Oct 2021 23:23:23 +0200 Subject: [PATCH] fix pistol clips pickup when akimbo magazine is full When player didn't have full pistol magazine, took akimbo and had full akimbo magazine, then he couldn't pick up pistol clips. --- source/src/entity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/entity.h b/source/src/entity.h index 51d1f448..12d10b54 100644 --- a/source/src/entity.h +++ b/source/src/entity.h @@ -283,7 +283,7 @@ public: { switch(type) { - case I_CLIPS: return ammo[akimbo ? GUN_AKIMBO : GUN_PISTOL]