Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/urde

This commit is contained in:
Jack Andersen 2018-04-07 10:56:54 -10:00
commit 4a490e7d43
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ CGameState::GameFileStateInfo CGameState::LoadGameFileState(const u8* data)
if (origMLVL == 0x158EFE17) if (origMLVL == 0x158EFE17)
itemPercent = 0; itemPercent = 0;
else else
itemPercent = u32(std::ceil(playerState.CalculateItemCollectionRate() * 100.f / playerState.GetPickupTotal())); itemPercent = playerState.CalculateItemCollectionRate() * 100 / playerState.GetPickupTotal();
ret.x18_itemPercent = itemPercent; ret.x18_itemPercent = itemPercent;