profile debug works on any profile

This commit is contained in:
Glenn Maynard
2007-05-06 05:22:50 +00:00
parent 6b7f932f94
commit f006256ceb
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -674,8 +674,8 @@ Chaos=Chaos
Characters=Characters
Choose=Choose
Clear Bookkeeping Data=Clear Bookkeeping Data
Clear Machine Edits=Clear Machine Edits
Clear Machine Stats=Clear Machine Scores
Clear Profile Edits=Clear Profile Edits
Clear Profile Stats=Clear Profile Scores
Clear area=Clear area
Coin Options=Coin Options
CoinMode=Coin\nMode
+1 -1
View File
@@ -746,7 +746,7 @@ class DebugLineClearProfileStats : public IDebugLine
virtual RString GetPageName() const { return "Profiles"; }
virtual void DoAndMakeSystemMessage( RString &sMessageOut )
{
Profile* pProfile = PROFILEMAN->GetMachineProfile();
Profile *pProfile = PROFILEMAN->GetProfile( g_ProfileSlot );
pProfile->ClearStats();
IDebugLine::DoAndMakeSystemMessage( sMessageOut );
}