const fix. Good OOP almost always demands private instance variables

This commit is contained in:
Steve Checkoway
2004-08-28 11:31:16 +00:00
parent cf58bf3ef8
commit d9e00567e9
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ const ScreenMessage SM_ChangeSong = ScreenMessage(SM_User+5);
const CString AllGroups = "[ALL MUSIC]";
ScreenNetSelectMusic::ScreenNetSelectMusic( CString sName ) : ScreenWithMenuElements( sName )
ScreenNetSelectMusic::ScreenNetSelectMusic( const CString& sName ) : ScreenWithMenuElements( sName )
{
/* Finish any previous stage. It's OK to call this when we havn't played a stage yet. */
GAMESTATE->FinishStage();