]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
Release the mouse during loading screen
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index aa8fb4c32bf9d712113f2bce98d71ec6d06f77e9..e34f712bebb2e148456af2f1e7afe2a71adb7739 100644 (file)
--- a/host.c
+++ b/host.c
@@ -681,7 +681,11 @@ static inline void Host_Sleep(double time)
                // TODO can we do the same for ServerFrame? Probably not.
        }
        else
+       {
+               if (cls.state != ca_dedicated)
+                       Curl_Select(&time);
                Sys_Sleep((int)time);
+       }
        delta = Sys_DirtyTime() - time0;
        if (delta < 0 || delta >= 1800)
                delta = 0;