diff --git a/stepmania/src/ScreenTextEntry.cpp b/stepmania/src/ScreenTextEntry.cpp index 8fd48a1c0e..f196ddd9d0 100644 --- a/stepmania/src/ScreenTextEntry.cpp +++ b/stepmania/src/ScreenTextEntry.cpp @@ -253,6 +253,11 @@ void ScreenTextEntry::AppendToAnswer( CString s ) void ScreenTextEntry::BackspaceInAnswer() { + if( m_sAnswer.empty() ) + { + SCREENMAN->PlayInvalidSound(); + return; + } m_sAnswer.erase( m_sAnswer.end()-1 ); m_sndBackspace.Play(); UpdateAnswerText();