animations: fix m_Goal not being set after #4911 (#4992)

This commit is contained in:
outfoxxed 2024-03-06 02:14:13 -08:00 committed by GitHub
parent fb87e332c5
commit d6f1b151b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -202,6 +202,7 @@ class CAnimatedVariable : public CBaseAnimatedVariable {
void create(const VarType& value, SAnimationPropertyConfig* pAnimConfig, void* pWindow, AVARDAMAGEPOLICY policy) { void create(const VarType& value, SAnimationPropertyConfig* pAnimConfig, void* pWindow, AVARDAMAGEPOLICY policy) {
create(pAnimConfig, pWindow, policy); create(pAnimConfig, pWindow, policy);
m_Value = value; m_Value = value;
m_Goal = value;
} }
using CBaseAnimatedVariable::create; using CBaseAnimatedVariable::create;