From 3ee2712c3ccd94ad9cf8a3be01bb96229701cee7 Mon Sep 17 00:00:00 2001
From: Spoike <acceptthis@users.sourceforge.net>
Date: Fri, 29 Aug 2014 04:50:49 +0000
Subject: [PATCH] dedicated compile fix.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4735 fc73d0e0-1445-4013-8a0c-d673dee63da5
---
 engine/gl/gl_model.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/engine/gl/gl_model.c b/engine/gl/gl_model.c
index 7aacbba2c..e1119120f 100644
--- a/engine/gl/gl_model.c
+++ b/engine/gl/gl_model.c
@@ -592,7 +592,9 @@ void Mod_Shutdown (qboolean final)
 	mod_known = NULL;
 	mod_numknown = 0;
 
+#ifndef SERVERONLY
 	r_worldentity.model = NULL;	//just in case.
+#endif
 }
 
 /*