mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-14 06:19:06 +00:00
CRidley: Collapse for loop into ranged for loop
Same behavior, no unnecessary induction variable.
This commit is contained in:
parent
98ce18385a
commit
c0a0a35f01
@ -294,8 +294,8 @@ CRidley::CRidley(TUniqueId uid, std::string_view name, const CEntityInfo& info,
|
|||||||
xce0_->SetParticleEmission(false);
|
xce0_->SetParticleEmission(false);
|
||||||
|
|
||||||
const auto& animData = GetModelData()->GetAnimationData();
|
const auto& animData = GetModelData()->GetAnimationData();
|
||||||
for (size_t i = 0; i < skWingBones.size(); ++i) {
|
for (const auto& wingBone : skWingBones) {
|
||||||
xce4_wingBoneIds.push_back(animData->GetLocatorSegId(skWingBones[i]));
|
xce4_wingBoneIds.push_back(animData->GetLocatorSegId(wingBone));
|
||||||
}
|
}
|
||||||
|
|
||||||
xae4_ = GetModelData()->GetScale().x() *
|
xae4_ = GetModelData()->GetScale().x() *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user