From 2570f05133e75258fc0d936800091c0f3d45e942 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 8 May 2011 22:52:32 +0000 Subject: [PATCH] fix a crash git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11138 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=aff7b9f6daa22f434d25c50a984abebad71a4f22 --- sv_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sv_main.c b/sv_main.c index 4696c3dd..ec93e246 100644 --- a/sv_main.c +++ b/sv_main.c @@ -238,9 +238,10 @@ static const char *standardeffectnames[EFFECT_TOTAL] = "SVC_PARTICLE" }; -#define SV_REQFUNCS (sizeof(sv_reqfuncs) / sizeof(const char *)) - +#define SV_REQFUNCS 0 #define sv_reqfuncs NULL + +//#define SV_REQFUNCS (sizeof(sv_reqfuncs) / sizeof(const char *)) //static const char *sv_reqfuncs[] = { //}; -- 2.39.2