mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
player_patches: fix last score not resetting to zero
This commit is contained in:
parent
17d7b97dd6
commit
f9440e2076
1 changed files with 2 additions and 5 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue