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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user