From c5c888daa6626aa01c4a3d7ffeb9828e069b7b13 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 25 Mar 2020 04:22:32 -0400 Subject: [PATCH] CRippleManager: Rename Ripples() to GetRipples() Allows const overloading to work and prevents compilation errors from occurring if the constness ever changes. --- Runtime/World/CRippleManager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/World/CRippleManager.hpp b/Runtime/World/CRippleManager.hpp index be1b2f2e2..2de208590 100644 --- a/Runtime/World/CRippleManager.hpp +++ b/Runtime/World/CRippleManager.hpp @@ -15,7 +15,7 @@ class CRippleManager { public: CRippleManager(int maxRipples, float alpha); void Init(int maxRipples); - std::vector& Ripples() { return x4_ripples; } + std::vector& GetRipples() { return x4_ripples; } const std::vector& GetRipples() const { return x4_ripples; } void Update(float dt); float GetLastRippleDeltaTime(TUniqueId rippler) const;