mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 11:07:44 +00:00
Merge branch 'master' of https://github.com/AxioDL/urde
This commit is contained in:
@@ -128,7 +128,8 @@ CGameState::GameFileStateInfo CGameState::LoadGameFileState(const u8* data)
|
|||||||
if (origMLVL == 0x158EFE17)
|
if (origMLVL == 0x158EFE17)
|
||||||
itemPercent = 0;
|
itemPercent = 0;
|
||||||
else
|
else
|
||||||
itemPercent = playerState.CalculateItemCollectionRate() * 100 / playerState.GetPickupTotal();
|
itemPercent = std::ceil(playerState.CalculateItemCollectionRate() * 100.f / playerState.GetPickupTotal());
|
||||||
|
|
||||||
ret.x18_itemPercent = itemPercent;
|
ret.x18_itemPercent = itemPercent;
|
||||||
|
|
||||||
float somePercent;
|
float somePercent;
|
||||||
|
|||||||
Reference in New Issue
Block a user