mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
SERVER: Fix Reloading on Max Ammo if clip isnt empty
This commit is contained in:
parent
e8dc7028e4
commit
c18c1c1261
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ void() PU_MaxAmmo =
|
|||
}
|
||||
|
||||
// Force the player to reload if their mag is empty
|
||||
if (players.weapons[0].weapon_magazine == 0 || players.weapons[0].weapon_magazine_left == 0) {
|
||||
if (players.weapons[0].weapon_magazine == 0 || (IsDualWeapon(players.weapon) && players.weapons[0].weapon_magazine_left == 0)) {
|
||||
tempe = self;
|
||||
self = players;
|
||||
W_Reload(S_BOTH);
|
||||
|
|
Loading…
Reference in a new issue