fix VC7 warning
This commit is contained in:
@@ -350,7 +350,7 @@ RageColor SongManager::GetSongColor( const Song* pSong )
|
|||||||
// Use unlock color if applicable
|
// Use unlock color if applicable
|
||||||
const UnlockEntry *pUE = UNLOCKMAN->FindSong( pSong );
|
const UnlockEntry *pUE = UNLOCKMAN->FindSong( pSong );
|
||||||
if( pUE )
|
if( pUE )
|
||||||
return UNLOCK_COLOR;
|
return UNLOCK_COLOR.GetValue();
|
||||||
|
|
||||||
|
|
||||||
if( USE_PREFERRED_SORT_COLOR )
|
if( USE_PREFERRED_SORT_COLOR )
|
||||||
@@ -452,7 +452,7 @@ RageColor SongManager::GetCourseColor( const Course* pCourse )
|
|||||||
// Use unlock color if applicable
|
// Use unlock color if applicable
|
||||||
const UnlockEntry *pUE = UNLOCKMAN->FindCourse( pCourse );
|
const UnlockEntry *pUE = UNLOCKMAN->FindCourse( pCourse );
|
||||||
if( pUE )
|
if( pUE )
|
||||||
return UNLOCK_COLOR;
|
return UNLOCK_COLOR.GetValue();
|
||||||
|
|
||||||
|
|
||||||
if( USE_PREFERRED_SORT_COLOR )
|
if( USE_PREFERRED_SORT_COLOR )
|
||||||
|
|||||||
Reference in New Issue
Block a user