mirror of https://github.com/AxioDL/metaforce.git
CRippleManager: Rename Ripples() to GetRipples()
Allows const overloading to work and prevents compilation errors from occurring if the constness ever changes.
This commit is contained in:
parent
4f9e53933e
commit
c5c888daa6
|
@ -15,7 +15,7 @@ class CRippleManager {
|
|||
public:
|
||||
CRippleManager(int maxRipples, float alpha);
|
||||
void Init(int maxRipples);
|
||||
std::vector<CRipple>& Ripples() { return x4_ripples; }
|
||||
std::vector<CRipple>& GetRipples() { return x4_ripples; }
|
||||
const std::vector<CRipple>& GetRipples() const { return x4_ripples; }
|
||||
void Update(float dt);
|
||||
float GetLastRippleDeltaTime(TUniqueId rippler) const;
|
||||
|
|
Loading…
Reference in New Issue