2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 07:47:42 +00:00

CParticleGenInfo: Fix missing ampersand in GetParticleSystem() member function

Previously the particle system shared pointer would always be returned
by value, rather than by reference.
This commit is contained in:
Lioncash
2020-03-05 21:33:22 -05:00
parent 2f9dd38bbe
commit 40277bedac
2 changed files with 2 additions and 2 deletions

View File

@@ -106,6 +106,6 @@ public:
TUniqueId GetLightId() const override;
void DeleteLight(CStateManager& mgr) override;
void SetModulationColor(const zeus::CColor& color) override;
const std::shared_ptr<CParticleGen> GetParticleSystem() const { return x84_system; }
const std::shared_ptr<CParticleGen>& GetParticleSystem() const { return x84_system; }
};
} // namespace urde