From 92fa37f03efc5e4c9afee08eabca9a2c869c622c Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 29 Jan 2006 00:57:34 +0000 Subject: [PATCH] minsw compile fix. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1910 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/q3common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/common/q3common.c b/engine/common/q3common.c index c5a5cf088..f9bd3a58d 100644 --- a/engine/common/q3common.c +++ b/engine/common/q3common.c @@ -3,7 +3,7 @@ //this file contains q3 netcode related things. //field info, netchan, and the WriteBits stuff (which should probably be moved to common.c with the others) - +#if defined(Q3SERVER) || defined(Q3CLIENT) #include "clq3defs.h" //okay, urr, this is bad for dedicated servers. urhum. Maybe they're not looking? It's only typedefs and one extern. @@ -1331,3 +1331,4 @@ void MSG_Q3_ReadDeltaUsercmd(int key, const usercmd_t *from, usercmd_t *to) } } +#endif