From: cloudwalk Date: Mon, 20 Jul 2020 17:35:03 +0000 (+0000) Subject: host: Minor comment improvements X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=14c48c87b9d0e34b8e7b7544f9561372fc967054;p=xonotic%2Fdarkplaces.git host: Minor comment improvements git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12854 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index fdffa60f..4f3e0e45 100644 --- 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();