diff --git a/cgdoom/cgdoom-ui.c b/cgdoom/cgdoom-ui.c index d71100f..38bf8dd 100644 --- a/cgdoom/cgdoom-ui.c +++ b/cgdoom/cgdoom-ui.c @@ -484,5 +484,6 @@ void UI_Error(const char *fmt, va_list args) Bdisp_PutDisp_DD(); int key; + while(PRGM_GetKey()); GetKey(&key); }