]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fixed crash in Host_Shutdown when MR_Shutdown was 0.
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 16 Oct 2003 17:45:29 +0000 (17:45 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 16 Oct 2003 17:45:29 +0000 (17:45 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3587 d7cf8633-e32d-0410-b094-e92efae38249

host.c

diff --git a/host.c b/host.c
index 4bab3b93443505480b11d6a31a2ad5f660180f3e..6618d329e4bb32fad5e73de05b8943f2ff62539a 100644 (file)
--- a/host.c
+++ b/host.c
@@ -918,7 +918,8 @@ void Host_Shutdown(void)
        isdown = true;
 
        // Shutdown menu
-       MR_Shutdown();
+       if(MR_Shutdown)
+               MR_Shutdown();
 
        // AK shutdown PRVM
        // AK hmm, no PRVM_Shutdown(); yet