From f906eed0e8262572554308f69c2f5d898d3b0f82 Mon Sep 17 00:00:00 2001 From: toadster172 Date: Sat, 2 Nov 2024 14:25:19 -0500 Subject: [PATCH] AsciiManager::OnUpdate: Use inlined timer function --- src/AsciiManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AsciiManager.cpp b/src/AsciiManager.cpp index 1a380db8..c505fb49 100644 --- a/src/AsciiManager.cpp +++ b/src/AsciiManager.cpp @@ -41,7 +41,7 @@ ChainCallbackResult AsciiManager::OnUpdate(AsciiManager *mgr) curPopup->position.y -= 0.5f * g_Supervisor.effectiveFramerateMultiplier; curPopup->timer.Tick(); - if ((i32)(curPopup->timer.current > 60)) + if (curPopup->timer > 60) { curPopup->inUse = false; }