1
This commit is contained in:
parent
f307e915f2
commit
f9b538bea6
@ -4133,7 +4133,9 @@ void Human::ProcLootWeapon(AddItemDTO& dto)
|
||||
bool switch_gun = false;
|
||||
Weapon* weapon = TakeonWeapon(dto.item_meta);
|
||||
if (weapon && GetCurrWeapon() != weapon) {
|
||||
switch_gun = true;
|
||||
if (GetCurrWeapon()->weapon_idx == 0) {
|
||||
switch_gun = true;
|
||||
}
|
||||
}
|
||||
if (!weapon) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user