diff options
| author | outfoxxed <outfoxxed@outfoxxed.me> | 2024-03-06 02:14:13 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-06 10:14:13 +0000 |
| commit | d6f1b151b2fe85ffbb131cbdd05acefc6a357e81 (patch) | |
| tree | e2b9554b7f382e818f40b4a86898f43f791e4f39 /src/helpers/AnimatedVariable.hpp | |
| parent | fb87e332c59ce386a095b3e81bb1abbcc9cc3e5c (diff) | |
animations: fix m_Goal not being set after #4911 (#4992)
Diffstat (limited to 'src/helpers/AnimatedVariable.hpp')
| -rw-r--r-- | src/helpers/AnimatedVariable.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/AnimatedVariable.hpp b/src/helpers/AnimatedVariable.hpp index 6efb394b..005f2832 100644 --- a/src/helpers/AnimatedVariable.hpp +++ b/src/helpers/AnimatedVariable.hpp @@ -202,6 +202,7 @@ class CAnimatedVariable : public CBaseAnimatedVariable { void create(const VarType& value, SAnimationPropertyConfig* pAnimConfig, void* pWindow, AVARDAMAGEPOLICY policy) { create(pAnimConfig, pWindow, policy); m_Value = value; + m_Goal = value; } using CBaseAnimatedVariable::create; |
