diff --git a/Runtime/World/CActorModelParticles.cpp b/Runtime/World/CActorModelParticles.cpp index fc71f6966..d9fe51a7c 100644 --- a/Runtime/World/CActorModelParticles.cpp +++ b/Runtime/World/CActorModelParticles.cpp @@ -528,6 +528,10 @@ void CActorModelParticles::SetupHook(TUniqueId uid) { CSkinnedModel::SetPointGeneratorFunc((void*)&*search, PointGenerator); } +std::list::iterator CActorModelParticles::FindSystem(TUniqueId uid) { + return std::find_if(x0_items.begin(), x0_items.end(), [uid](const auto& entry) { return entry.x0_id == uid; }); +} + std::list::const_iterator CActorModelParticles::FindSystem(TUniqueId uid) const { return std::find_if(x0_items.begin(), x0_items.end(), [uid](const auto& entry) { return entry.x0_id == uid; }); }