Make sure error messages are shown.
This commit is contained in:
parent
230620a1f1
commit
66ce3f2b4e
|
@ -95,6 +95,8 @@ void showErrorAndExit(int errorId, const char *name)
|
||||||
drawString("Project: Starfighter will now exit", -1, 450, FONT_WHITE);
|
drawString("Project: Starfighter will now exit", -1, 450, FONT_WHITE);
|
||||||
drawString("Press Space to continue", -1, 475, FONT_WHITE);
|
drawString("Press Space to continue", -1, 475, FONT_WHITE);
|
||||||
|
|
||||||
|
updateScreen();
|
||||||
|
|
||||||
engine.keyState[SDLK_SPACE] = 0;
|
engine.keyState[SDLK_SPACE] = 0;
|
||||||
|
|
||||||
while (!engine.keyState[SDLK_SPACE])
|
while (!engine.keyState[SDLK_SPACE])
|
||||||
|
|
Loading…
Reference in New Issue