]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
properly handle the case that the touch fucntion teleported the player
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index afce873dd0cc686f63adf1487527198ad9179662..e16d75d383e4842e9e56f4d695267829ce116fe4 100644 (file)
--- a/host.c
+++ b/host.c
@@ -925,6 +925,10 @@ void Host_Main(void)
                                Sys_Sleep((int)wait);
                }
 
+#if MEMPARANOIA
+               Mem_CheckSentinelsGlobal();
+#endif
+
                // if there is some time remaining from this frame, reset the timers
                if (cl_timer >= 0)
                        cl_timer = 0;
@@ -1220,6 +1224,7 @@ void Host_Shutdown(void)
        Sys_Shutdown();
        Log_Close();
        FS_Shutdown();
+       Con_Shutdown();
        Memory_Shutdown();
 }