From 4d3d82428ed5a36c0763a0f734ebc398a95ff0fc Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 14 Apr 2024 14:19:49 -0400 Subject: [PATCH] clang --- LEGO1/lego/sources/anim/legoanim.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LEGO1/lego/sources/anim/legoanim.cpp b/LEGO1/lego/sources/anim/legoanim.cpp index 39f868b7..202f0236 100644 --- a/LEGO1/lego/sources/anim/legoanim.cpp +++ b/LEGO1/lego/sources/anim/legoanim.cpp @@ -660,14 +660,14 @@ LegoU32 LegoAnimNodeData::FindKeys( if (GetKey(p_old_index, p_keys, p_size).GetTime() <= p_time) { for (p_new_index = p_old_index; p_new_index < p_numKeys - 1 && p_time >= GetKey(p_new_index + 1, p_keys, p_size).GetTime(); - p_new_index++) - ; + p_new_index++) { + } } else { for (p_new_index = 0; p_new_index < p_numKeys - 1 && p_time >= GetKey(p_new_index + 1, p_keys, p_size).GetTime(); - p_new_index++) - ; + p_new_index++) { + } } p_old_index = p_new_index;