From d6f1b151b2fe85ffbb131cbdd05acefc6a357e81 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Wed, 6 Mar 2024 02:14:13 -0800 Subject: [PATCH] animations: fix m_Goal not being set after #4911 (#4992) --- src/helpers/AnimatedVariable.hpp | 1 + 1 file changed, 1 insertion(+) 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;