mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-20 12:09:32 -06:00
player_patches: fix last score not resetting to zero
This commit is contained in:
@@ -50,11 +50,8 @@ PPC_FUNC(sub_8245F048)
|
||||
|
||||
void ResetScoreOnRestartMidAsmHook()
|
||||
{
|
||||
if (auto pGameDocument = SWA::CGameDocument::GetInstance())
|
||||
{
|
||||
pGameDocument->m_pMember->m_ScoreInfo.EnemyScore = 0;
|
||||
pGameDocument->m_pMember->m_ScoreInfo.TrickScore = 0;
|
||||
}
|
||||
g_lastEnemyScore = 0;
|
||||
g_lastTrickScore = 0;
|
||||
}
|
||||
|
||||
// Dark Gaia energy change hook.
|
||||
|
||||
Reference in New Issue
Block a user