]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_win.c
centered quake hud in deathmatch, this makes the new score block visible
[xonotic/darkplaces.git] / sys_win.c
index 6addcdfa5fb747c2c3e23b35fe693e7b3ddf2445..6a33662590836c7ac6dacc6d72577874f4631541 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -265,11 +265,11 @@ char *Sys_ConsoleInput (void)
        return NULL;
 }
 
-void Sys_Sleep(int milliseconds)
+void Sys_Sleep(int microseconds)
 {
-       if (milliseconds < 1)
-               milliseconds = 1;
-       Sleep(milliseconds);
+       if (microseconds < 1000)
+               microseconds = 1000;
+       Sleep(microseconds / 1000);
 }
 
 char *Sys_GetClipboardData (void)