gl_screen.c:SCR_ModalMessage(): make sure we don't ignore the next keypress (after a timeout).

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@613 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
svdijk 2012-01-19 19:09:23 +00:00
parent f53eccda96
commit 2eaf8974b7

View file

@ -890,6 +890,10 @@ int SCR_ModalMessage (const char *text, float timeout) //johnfitz -- timeout
key_lastpress != K_ESCAPE &&
time2 <= time1);
// make sure we don't ignore the next keypress
if (key_count < 0)
key_count = 0;
// SCR_UpdateScreen (); //johnfitz -- commented out
//johnfitz -- timeout