2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 04:27:42 +00:00

PART MBSP property yaml fix

This commit is contained in:
Jack Andersen
2018-04-04 20:58:11 -10:00
parent d5e471bac3
commit 898114d803
9 changed files with 20 additions and 18 deletions

View File

@@ -86,6 +86,7 @@ CPlayerState::CPlayerState(CBitStreamReader& stream)
}
const auto& scanStates = g_MemoryCardSys->GetScanStates();
x170_scanTimes.reserve(scanStates.size());
for (const auto& state : scanStates)
{
float time = stream.ReadEncoded(1) ? 1.f : 0.f;
@@ -435,6 +436,7 @@ void CPlayerState::InitializeScanTimes()
return;
const auto& scanStates = g_MemoryCardSys->GetScanStates();
x170_scanTimes.reserve(scanStates.size());
for (const auto& state : scanStates)
x170_scanTimes.emplace_back(state.first, 0.f);
}