1
This commit is contained in:
parent
c0c103625d
commit
8fdb361ff9
@ -2564,9 +2564,10 @@ void Human::ProcLootWeapon(AddItemDTO& dto)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
weapon->weapon_id = dto.item_id;
|
weapon->weapon_id = dto.item_id;
|
||||||
weapon->ammo = 0;
|
|
||||||
weapon->meta = dto.item_meta;
|
weapon->meta = dto.item_meta;
|
||||||
|
weapon->ammo = 0;
|
||||||
weapon->Recalc();
|
weapon->Recalc();
|
||||||
|
weapon->ammo = weapon->GetClipVolume(this);
|
||||||
AutoLoadingBullet();
|
AutoLoadingBullet();
|
||||||
if (switch_gun) {
|
if (switch_gun) {
|
||||||
SetCurrWeapon(weapon);
|
SetCurrWeapon(weapon);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user