1
This commit is contained in:
parent
564851eae8
commit
b843518bfd
@ -1464,7 +1464,7 @@ void Creature::Shot(glm::vec3& target_dir, bool& shot_ok, float fly_distance, in
|
|||||||
trace_target_uniid);
|
trace_target_uniid);
|
||||||
} else if (power_idx < GetCurrWeapon()->meta->_power_charge.size()) {
|
} else if (power_idx < GetCurrWeapon()->meta->_power_charge.size()) {
|
||||||
const mt::Equip* weapon_meta = mt::Equip::GetById
|
const mt::Equip* weapon_meta = mt::Equip::GetById
|
||||||
(std::get<1>(GetCurrWeapon()->meta->_power_charge[power_idx]));
|
(std::get<1>(GetCurrWeapon()->meta->_power_charge.at(power_idx)));
|
||||||
if (weapon_meta) {
|
if (weapon_meta) {
|
||||||
const mt::Equip* bullet_meta = mt::Equip::GetById(weapon_meta->use_bullet());;
|
const mt::Equip* bullet_meta = mt::Equip::GetById(weapon_meta->use_bullet());;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user