disable sync in course modes

This commit is contained in:
Chris Danford
2005-05-20 18:38:53 +00:00
parent 4da8865e87
commit 9048ffa9de
2 changed files with 7 additions and 4 deletions
+3 -4
View File
@@ -94,9 +94,9 @@ void ScreenSyncOverlay::UpdateText()
default: ASSERT(0);
}
if( GAMESTATE->m_pCurSong == NULL )
if( GAMESTATE->m_pCurSong == NULL || GAMESTATE->IsCourseMode() ) // sync controls not available
{
m_textStatus.SetText( "" );
m_textStatus.SetText( s );
return;
}
@@ -161,8 +161,6 @@ bool ScreenSyncOverlay::OverlayInput( const DeviceInput& DeviceI, const InputEve
switch( DeviceI.button )
{
case KEY_F4:
SCREENMAN->SystemMessage( "Sync changes reverted." );
break;
case KEY_F9:
case KEY_F10:
case KEY_F11:
@@ -180,6 +178,7 @@ bool ScreenSyncOverlay::OverlayInput( const DeviceInput& DeviceI, const InputEve
switch( DeviceI.button )
{
case KEY_F4:
SCREENMAN->SystemMessage( "Sync changes reverted." );
GAMESTATE->RevertSyncChanges();
break;
case KEY_F9: