Broadcast more specific messages when switching songs on the MusicWheel.

This commit is contained in:
Colby Klein
2008-12-23 08:18:47 +00:00
parent c4b751ef02
commit fa31e8d187
+6
View File
@@ -539,13 +539,19 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
else if( bLeftIsDown ) else if( bLeftIsDown )
{ {
if( input.type != IET_RELEASE ) if( input.type != IET_RELEASE )
{
MESSAGEMAN->Broadcast( "PreviousSong" );
m_MusicWheel.Move( -1 ); m_MusicWheel.Move( -1 );
} }
}
else if( bRightIsDown ) else if( bRightIsDown )
{ {
if( input.type != IET_RELEASE ) if( input.type != IET_RELEASE )
{
MESSAGEMAN->Broadcast( "NextSong" );
m_MusicWheel.Move( +1 ); m_MusicWheel.Move( +1 );
} }
}
else else
{ {
ASSERT(0); ASSERT(0);