1
This commit is contained in:
parent
1be8e2da29
commit
067e9fbdb8
@ -173,6 +173,7 @@ Human::Human():Creature()
|
||||
AddInventory(IS_762MM, FIGHTING_MODE_BULLET_NUM);
|
||||
AddInventory(IS_12GAUGE, FIGHTING_MODE_BULLET_NUM);
|
||||
AddInventory(IS_RPG, FIGHTING_MODE_BULLET_NUM);
|
||||
AddInventory(IS_ICE, FIGHTING_MODE_BULLET_NUM);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -637,9 +637,9 @@ void Player::ProcPrepareItems(const ::google::protobuf::RepeatedField< ::google:
|
||||
weapon->weapon_idx = weapon_idx;
|
||||
weapon->weapon_id = spec_weapon.weapon_id;
|
||||
weapon->weapon_lv = spec_weapon.weapon_lv;
|
||||
weapon->ammo = spec_weapon.ammo;
|
||||
weapon->meta = item_meta;
|
||||
weapon->Recalc();
|
||||
weapon->ammo = weapon->GetClipVolume();
|
||||
SetCurrWeapon(&weapons[GUN_SLOT1]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user