diff --git a/Runtime/CGameState.cpp b/Runtime/CGameState.cpp index 19cf3662a..50ab1e51f 100644 --- a/Runtime/CGameState.cpp +++ b/Runtime/CGameState.cpp @@ -129,7 +129,7 @@ CGameState::GameFileStateInfo CGameState::LoadGameFileState(const u8* data) if (origMLVL == 0x158EFE17) itemPercent = 0; else - itemPercent = u32(std::ceil(playerState.CalculateItemCollectionRate() * 100.f / playerState.GetPickupTotal())); + itemPercent = playerState.CalculateItemCollectionRate() * 100 / playerState.GetPickupTotal(); ret.x18_itemPercent = itemPercent;