]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
host: Minor comment improvements
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 20 Jul 2020 17:35:03 +0000 (17:35 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 20 Jul 2020 17:35:03 +0000 (17:35 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12854 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index fdffa60f8ac60f1a683ee039b861101d24d2ac90..4f3e0e45b2e46becd534d25ef4a46ea9de937152 100644 (file)
--- a/host.c
+++ b/host.c
@@ -492,12 +492,14 @@ void Host_Main(void)
        host.realtime = 0;
        oldtime = Sys_DirtyTime();
 
+       // Main event loop
        while(host.state != host_shutdown)
        {
+               // Something bad happened, or the server disconnected
                if (setjmp(host.abortframe))
                {
                        host.state = host_active; // In case we were loading
-                       continue;                       // something bad happened, or the server disconnected
+                       continue;
                }
 
                newtime = host.dirtytime = Sys_DirtyTime();