This commit is contained in:
aozhiwei 2023-03-30 11:52:39 +08:00
parent 10e302e81d
commit 55908bbcf3
2 changed files with 2 additions and 2 deletions

View File

@ -305,7 +305,7 @@ namespace mt
abort(); abort();
} }
} else if (meta->_gun_muzzle_position_hash_.size() > 1) { } else if (meta->_gun_muzzle_position_hash_.size() > 1) {
if (meta->_gun_muzzle_position_hash_.find(1) != if (meta->_gun_muzzle_position_hash_.find(1) ==
meta->_gun_muzzle_position_hash_.end()) { meta->_gun_muzzle_position_hash_.end()) {
abort(); abort();
} }

View File

@ -268,7 +268,7 @@ anim.l_y = l_y;
for (auto& lv_key : lv_keys) { for (auto& lv_key : lv_keys) {
int equip_lv = a8::XValue(lv_key); int equip_lv = a8::XValue(lv_key);
auto equip_lv_xobj = equip_xobj->At(key); auto equip_lv_xobj = equip_xobj->At(lv_key);
float x = equip_lv_xobj->At("x")->AsXValue().GetDouble(); float x = equip_lv_xobj->At("x")->AsXValue().GetDouble();
float y = equip_lv_xobj->At("y")->AsXValue().GetDouble(); float y = equip_lv_xobj->At("y")->AsXValue().GetDouble();