fix incorrect song counts for courses

cleanup: make StageStats hold a list of Songs and Steps that were played during the stage
This commit is contained in:
Chris Danford
2004-08-30 04:09:23 +00:00
parent 6ac1d7c449
commit 081c1e24b5
11 changed files with 157 additions and 132 deletions
+2 -2
View File
@@ -338,11 +338,11 @@ void NetworkSyncManager::StartRequest(short position)
unsigned char ctr=0;
Steps * tSteps;
tSteps = g_CurStageStats.pSteps[PLAYER_1];
tSteps = g_CurStageStats.vpSteps[PLAYER_1].back();
if (tSteps!=NULL)
ctr = uint8_t(ctr+tSteps->GetMeter()*16);
tSteps = g_CurStageStats.pSteps[PLAYER_2];
tSteps = g_CurStageStats.vpSteps[PLAYER_2].back();
if (tSteps!=NULL)
ctr = uint8_t(ctr+tSteps->GetMeter());