From 85a78e0a58af214a1408d39f8832ece4debf2bb6 Mon Sep 17 00:00:00 2001 From: Maximilian Seidler Date: Thu, 27 Nov 2025 17:16:37 +0100 Subject: [PATCH] fix tick --- tests/animation/Animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/animation/Animation.cpp b/tests/animation/Animation.cpp index fb07bd8..eb810fb 100644 --- a/tests/animation/Animation.cpp +++ b/tests/animation/Animation.cpp @@ -68,7 +68,7 @@ class CMyAnimationManager : public CAnimationManager { if (!avInt) std::cout << "Dynamic cast upcast failed\n"; - const auto DELTA = avInt->goal() - avInt->value(); + const auto DELTA = avInt->goal() - avInt->begun(); avInt->value() = avInt->begun() + (DELTA * POINTY); } break; case eAVTypes::TEST: {