mirror of https://github.com/AxioDL/metaforce.git
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);
|
||||
|
||||
const auto& animData = GetModelData()->GetAnimationData();
|
||||
for (size_t i = 0; i < skWingBones.size(); ++i) {
|
||||
xce4_wingBoneIds.push_back(animData->GetLocatorSegId(skWingBones[i]));
|
||||
for (const auto& wingBone : skWingBones) {
|
||||
xce4_wingBoneIds.push_back(animData->GetLocatorSegId(wingBone));
|
||||
}
|
||||
|
||||
xae4_ = GetModelData()->GetScale().x() *
|
||||
|
|
Loading…
Reference in New Issue