don't beep if snap mode didn't change

This commit is contained in:
Chris Danford
2004-08-13 02:41:19 +00:00
parent ce95644213
commit 47e9ab702c
+2 -2
View File
@@ -867,11 +867,11 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ
m_soundChangeLine.Play();
break;
case SDLK_LEFT:
m_SnapDisplay.PrevSnapMode();
if( m_SnapDisplay.PrevSnapMode() )
OnSnapModeChange();
break;
case SDLK_RIGHT:
m_SnapDisplay.NextSnapMode();
if( m_SnapDisplay.NextSnapMode() )
OnSnapModeChange();
break;
case SDLK_SPACE: