This commit is contained in:
Glenn Maynard
2005-03-09 02:47:51 +00:00
parent d7911ccff9
commit 4b3cabf456
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ bool DifficultyIcon::Load( CString sPath )
return true;
}
void DifficultyIcon::SetFromSteps( PlayerNumber pn, Steps* pSteps )
void DifficultyIcon::SetFromSteps( PlayerNumber pn, const Steps* pSteps )
{
if( pSteps == NULL )
m_bBlank = true;
@@ -41,7 +41,7 @@ void DifficultyIcon::SetFromSteps( PlayerNumber pn, Steps* pSteps )
SetFromDifficulty( pn, pSteps->GetDifficulty() );
}
void DifficultyIcon::SetFromTrail( PlayerNumber pn, Trail* pTrail )
void DifficultyIcon::SetFromTrail( PlayerNumber pn, const Trail* pTrail )
{
if( pTrail == NULL )
m_bBlank = true;
+2 -2
View File
@@ -19,8 +19,8 @@ public:
bool Load( CString sFilePath );
void SetFromSteps( PlayerNumber pn, Steps* pSteps );
void SetFromTrail( PlayerNumber pn, Trail* pTrail );
void SetFromSteps( PlayerNumber pn, const Steps* pSteps );
void SetFromTrail( PlayerNumber pn, const Trail* pTrail );
void SetFromDifficulty( PlayerNumber pn, Difficulty dc );
protected: