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