Remove a busy loop when showing an error message.

This commit is contained in:
Guus Sliepen 2011-08-24 22:32:30 +02:00
parent 1f7db8a9d8
commit c14a9e7956
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ void showErrorAndExit(int errorId, const char *name)
while (!engine.keyState[SDLK_SPACE])
{
getPlayerInput();
graphics.updateScreen();
graphics.delayFrame();
}
exit(1);