2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-20 11:39:13 +00:00

Reformat pass

This commit is contained in:
2021-06-07 12:29:18 -07:00
parent d7559823ea
commit a9bcb7a9ce
424 changed files with 4377 additions and 4790 deletions

View File

@@ -83,8 +83,8 @@ void MP1::CActorContraption::DoUserAnimEvent(CStateManager& mgr, const CInt32POI
}
CFlameThrower* MP1::CActorContraption::CreateFlameThrower(std::string_view name, CStateManager& mgr) {
const auto it = std::find_if(x2e8_children.cbegin(), x2e8_children.cend(),
[&name](const auto& p) { return p.second == name; });
const auto it =
std::find_if(x2e8_children.cbegin(), x2e8_children.cend(), [&name](const auto& p) { return p.second == name; });
if (it != x2e8_children.cend()) {
return static_cast<CFlameThrower*>(mgr.ObjectById(it->first));