Make sure error messages are shown.

This commit is contained in:
Guus Sliepen 2012-02-26 22:23:34 +01:00
parent 230620a1f1
commit 66ce3f2b4e
1 changed files with 2 additions and 0 deletions

View File

@ -95,6 +95,8 @@ void showErrorAndExit(int errorId, const char *name)
drawString("Project: Starfighter will now exit", -1, 450, FONT_WHITE);
drawString("Press Space to continue", -1, 475, FONT_WHITE);
updateScreen();
engine.keyState[SDLK_SPACE] = 0;
while (!engine.keyState[SDLK_SPACE])