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(); m_soundChangeLine.Play();
break; break;
case SDLK_LEFT: case SDLK_LEFT:
m_SnapDisplay.PrevSnapMode(); if( m_SnapDisplay.PrevSnapMode() )
OnSnapModeChange(); OnSnapModeChange();
break; break;
case SDLK_RIGHT: case SDLK_RIGHT:
m_SnapDisplay.NextSnapMode(); if( m_SnapDisplay.NextSnapMode() )
OnSnapModeChange(); OnSnapModeChange();
break; break;
case SDLK_SPACE: case SDLK_SPACE: