mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-06-03 00:41:20 +00:00
fix for build error in Xcode relating to non-reference types in a for loop
This commit is contained in:
parent
cec1610847
commit
f86e570ef4
@ -49,7 +49,7 @@ void CMetroidPrimeRelay::GetOrBuildMetroidPrimeExo(CStateManager& mgr) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (const auto& act : mgr.GetPhysicsActorObjectList()) {
|
||||
for (const auto act : mgr.GetPhysicsActorObjectList()) {
|
||||
if (CPatterned::CastTo<CMetroidPrimeExo>(act) != nullptr) {
|
||||
return;
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ void CScriptMazeNode::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, C
|
||||
}
|
||||
}
|
||||
}
|
||||
for (const auto& ent : mgr.GetAllObjectList()) {
|
||||
for (const auto ent : mgr.GetAllObjectList()) {
|
||||
if (TCastToPtr<CScriptMazeNode> node = ent) {
|
||||
if (node->xe8_col == xe8_col - 1 && node->xec_row == xec_row && node->xf0_side == ESide::Right) {
|
||||
auto& cell = maze->GetCell(xe8_col - 1, xec_row);
|
||||
|
Loading…
x
Reference in New Issue
Block a user