From 1f44287dbfadd29e4e6eec914e68455a53ec82e6 Mon Sep 17 00:00:00 2001
From: black <black@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Thu, 16 Oct 2003 17:45:29 +0000
Subject: [PATCH] Fixed crash in Host_Shutdown when MR_Shutdown was 0.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3587 d7cf8633-e32d-0410-b094-e92efae38249
---
 host.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/host.c b/host.c
index 4bab3b93..6618d329 100644
--- 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
-- 
2.39.5