mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
SCR_ModalMessage: (very) minor correction.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@708 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
a6f48f01a0
commit
e64b7509cf
1 changed files with 1 additions and 1 deletions
|
@ -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 &&
|
||||
|
|
Loading…
Reference in a new issue