SCR_ModalMessage: (very) minor correction.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@708 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
svdijk 2012-09-04 18:29:01 +00:00
parent 29ccfaeb50
commit 7060951ee9

View file

@ -881,8 +881,8 @@ int SCR_ModalMessage (const char *text, float timeout) //johnfitz -- timeout
{
key_count = -1; // wait for a key down and up
Sys_SendKeyEvents ();
if (timeout) time2 = Sys_DoubleTime (); //johnfitz -- zero timeout means wait forever.
Sys_Sleep(16);
if (timeout) time2 = Sys_DoubleTime (); //johnfitz -- zero timeout means wait forever.
} while (key_lastpress != 'y' &&
key_lastpress != 'n' &&
key_lastpress != K_ESCAPE &&