From 00f0445863619160327fe731191e8873c74afe7f Mon Sep 17 00:00:00 2001 From: jonschz Date: Fri, 14 Jun 2024 21:43:27 +0200 Subject: [PATCH] refactor: int to MxS32 --- LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp b/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp index d249606d..3c4545b5 100644 --- a/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp +++ b/LEGO1/lego/legoomni/src/common/legoanimationmanager.cpp @@ -2877,7 +2877,7 @@ MxResult AnimState::Serialize(LegoFile* p_file) else { m_unk0x10 = NULL; } - for (int i = 0; i < m_unk0x0c; i++) { + for (MxS32 i = 0; i < m_unk0x0c; i++) { Read(p_file, &m_unk0x10[i]); } @@ -2893,18 +2893,18 @@ MxResult AnimState::Serialize(LegoFile* p_file) else { m_unk0x18 = NULL; } - for (int j = 0; j < m_unk0x14; j++) { + for (MxS32 j = 0; j < m_unk0x14; j++) { Read(p_file, &m_unk0x18[j]); } } else if (p_file->IsWriteMode()) { Write(p_file, m_unk0x08); Write(p_file, m_unk0x0c); - for (int i = 0; i < m_unk0x0c; i++) { + for (MxS32 i = 0; i < m_unk0x0c; i++) { Write(p_file, m_unk0x10[i]); } Write(p_file, m_unk0x14); - for (int j = 0; j < m_unk0x14; j++) { + for (MxS32 j = 0; j < m_unk0x14; j++) { Write(p_file, m_unk0x18[j]); } }