mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 03:37:01 +00:00
Runtime: Resolve -Wrange-loop-analysis warnings (part 2)
This commit is contained in:
@@ -170,7 +170,7 @@ zeus::CQuaternion CRipperControlledPlatform::Move(float arg, CStateManager& mgr)
|
||||
rstl::reserved_vector<TUniqueId, 1024> nearList;
|
||||
rstl::reserved_vector<TUniqueId, 1024> filteredNearList;
|
||||
mgr.BuildColliderList(nearList, *this, GetMotionVolume(arg));
|
||||
for (const TUniqueId id : nearList) {
|
||||
for (const auto& id : nearList) {
|
||||
if (!IsRider(id) && !IsSlave(id)) {
|
||||
filteredNearList.push_back(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user