X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=host.c;h=2c9cdd5e71dc25f1a53bcf1cf645d279d3ad175d;hp=c43533572a204ec70759ba00c9179bf98693cda4;hb=9f6e4476fe8049342ac61c87ab7286912c1ff97c;hpb=bcf77da497c3aa980ccaeded69e0966937590350 diff --git a/host.c b/host.c index c4353357..2c9cdd5e 100644 --- a/host.c +++ b/host.c @@ -42,6 +42,8 @@ double realtime; // without any filtering or bounding double oldrealtime; // last frame run int host_framecount; +double sv_frametime; + int host_hunklevel; int minimum_memory; @@ -479,7 +481,6 @@ not reinitialize anything. void Host_ClearMemory (void) { Con_DPrintf ("Clearing memory\n"); - D_FlushCaches (); Mod_ClearAll (); if (host_hunklevel) Hunk_FreeToLowMark (host_hunklevel); @@ -626,7 +627,7 @@ void Host_ServerFrame (void) if (!isDedicated && svs.maxclients > 1 && ((realtime - lastservertime) < sys_ticrate.value)) return; // run the world state - pr_global_struct->frametime = frametimetotal; + sv_frametime = pr_global_struct->frametime = frametimetotal; frametimetotal = 0; // pr_global_struct->frametime = host_frametime;