From 0f6b5d1eef224d87d090e70f19e0d3fcffe81881 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 26 Oct 2004 23:05:19 +0000 Subject: [PATCH] allow the minimal gl to compile git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@376 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/zqtp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/client/zqtp.c b/engine/client/zqtp.c index a111ecf53..09f0e6d78 100644 --- a/engine/client/zqtp.c +++ b/engine/client/zqtp.c @@ -721,11 +721,14 @@ static char *Macro_demoplayback (void) return "qwdplayback"; case DPB_MVD: return "mvdplayback"; +#ifdef NQPROT case DPB_NETQUAKE: return "demplayback"; +#endif +#ifdef Q2CLIENT case DPB_QUAKE2: return "dm2playback"; - +#endif //gcc will warn if we add annother playback and forget here, otherwise I'd use a default. } return "1"; //unknown.