Profile::ClearStats

This commit is contained in:
Glenn Maynard
2007-05-06 05:13:58 +00:00
parent 837f29e0f9
commit 6b60a97092
5 changed files with 12 additions and 9 deletions
+2 -3
View File
@@ -25,7 +25,6 @@
#include "Profile.h"
#include "SongManager.h"
#include "GameLoop.h"
#include "ScreenServiceAction.h"
#include "song.h"
static bool g_bIsDisplayed = false;
@@ -711,8 +710,8 @@ class DebugLineClearMachineStats : public IDebugLine
virtual RString GetPageName() const { return "Profiles"; }
virtual void DoAndMakeSystemMessage( RString &sMessageOut )
{
GameCommand gc;
ClearMachineStats();
Profile* pProfile = PROFILEMAN->GetMachineProfile();
pProfile->ClearStats();
IDebugLine::DoAndMakeSystemMessage( sMessageOut );
}
};