From 194482757868cfd014ada50e8a1672ef3cb43f5f Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Mon, 9 Jun 2025 17:44:04 -0700 Subject: [PATCH] Revert --- LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp b/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp index 95887df3..665c6459 100644 --- a/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp +++ b/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp @@ -503,7 +503,7 @@ void LegoAnimationManager::Init() m_unk0x1a = FALSE; m_tranInfoList = NULL; m_tranInfoList2 = NULL; - // m_maxAllowedExtras = g_legoAnimationManagerConfig; + m_maxAllowedExtras = g_legoAnimationManagerConfig; MxS32 i; for (i = 0; i < (MxS32) sizeOfArray(m_unk0x28); i++) { @@ -1576,7 +1576,7 @@ MxResult LegoAnimationManager::Tickle() if (elapsedSeconds > 0.2 && m_numAllowedExtras > 2) { m_numAllowedExtras--; } - else if (g_unk0x100f7500 < 0.16 && m_numAllowedExtras < g_legoAnimationManagerConfig) { + else if (g_unk0x100f7500 < 0.16 && m_numAllowedExtras < m_maxAllowedExtras) { m_numAllowedExtras++; } }