merge PlayCommand2 and PlayCommand so that Actor derivities only have to override one method to get the correct behavior

This commit is contained in:
Chris Danford
2005-06-12 00:35:08 +00:00
parent f7c6023412
commit 623dc2512f
16 changed files with 51 additions and 94 deletions
+2 -2
View File
@@ -144,7 +144,7 @@ GenreDisplay::~GenreDisplay()
{
}
void GenreDisplay::PlayCommand( const CString &sCommandName )
void GenreDisplay::PlayCommand( const CString &sCommandName, Actor* pParent )
{
if( sCommandName == MessageToString(MESSAGE_CURRENT_SONG_CHANGED) )
{
@@ -185,7 +185,7 @@ void GenreDisplay::PlayCommand( const CString &sCommandName )
}
else
{
Actor::PlayCommand( sCommandName );
Actor::PlayCommand( sCommandName, pParent );
}
}