File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -673,6 +673,7 @@ PlayerAI::SetPlayerStageStatsForReplay(PlayerStageStats* pss)
673
673
pss->m_HighScore = *pScoreData;
674
674
pss->CurWifeScore = pScoreData->GetWifeScore ();
675
675
pss->m_fWifeScore = pScoreData->GetWifeScore ();
676
+ pss->m_vHoldReplayData = pScoreData->GetHoldReplayDataVector ();
676
677
pss->m_vNoteRowVector = pScoreData->GetNoteRowVector ();
677
678
pss->m_vOffsetVector = pScoreData->GetOffsetVector ();
678
679
pss->m_vTapNoteTypeVector = pScoreData->GetTapNoteTypeVector ();
Original file line number Diff line number Diff line change @@ -210,18 +210,6 @@ ScreenGameplayReplay::SaveStats()
210
210
// Also the notedata
211
211
SetupNoteDataFromRow (GAMESTATE->m_pCurSteps , -1 );
212
212
213
- // We need to replace the newly created replay data with the actual old
214
- // data Because to keep consistently lazy practices, we can just hack
215
- // things together instead of fixing the real issue -poco
216
- // (doing this fixes a lot of issues in the eval screen)
217
- PlayerStageStats* pss = m_vPlayerInfo.GetPlayerStageStats ();
218
- HighScore* hs = PlayerAI::pScoreData;
219
- pss->m_vHoldReplayData = hs->GetHoldReplayDataVector ();
220
- pss->m_vNoteRowVector = hs->GetNoteRowVector ();
221
- pss->m_vOffsetVector = hs->GetOffsetVector ();
222
- pss->m_vTapNoteTypeVector = hs->GetTapNoteTypeVector ();
223
- pss->m_vTrackVector = hs->GetTrackVector ();
224
-
225
213
ScreenGameplay::SaveStats ();
226
214
}
227
215
@@ -233,6 +221,7 @@ ScreenGameplayReplay::StageFinished(bool bBackedOut)
233
221
return ;
234
222
}
235
223
224
+ // Makes sure all PlayerStageStats discrepancies are corrected forcibly.
236
225
PlayerAI::SetPlayerStageStatsForReplay (m_vPlayerInfo.GetPlayerStageStats ());
237
226
238
227
STATSMAN->m_CurStageStats .FinalizeScores (false );
You can’t perform that action at this time.
0 commit comments