From 14c48c87b9d0e34b8e7b7544f9561372fc967054 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 20 Jul 2020 17:35:03 +0000 Subject: [PATCH] host: Minor comment improvements git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12854 d7cf8633-e32d-0410-b094-e92efae38249 --- host.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.39.2