Check uppercase and lowercase, when confirming quit in Simon the Sorcerer 1/2

svn-id: r23591
This commit is contained in:
Travis Howell 2006-07-25 03:46:56 +00:00
parent 7fe844cac6
commit bb5280bb2f

View File

@ -1133,9 +1133,9 @@ void SimonEngine::o_pauseGame() {
}
}
#endif
if (_keyPressed == keyYes)
if (_keyPressed == keyYes || _keyPressed == (keyYes - 32))
shutdown();
else if (_keyPressed == keyNo)
else if (_keyPressed == keyNo || _keyPressed == (keyNo - 32))
break;
}