From: havoc Date: Sun, 8 May 2011 22:52:32 +0000 (+0000) Subject: fix a crash X-Git-Tag: xonotic-v0.6.0~163^2~408 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=aff7b9f6daa22f434d25c50a984abebad71a4f22;p=xonotic%2Fdarkplaces.git fix a crash git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11138 d7cf8633-e32d-0410-b094-e92efae38249 --- 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[] = { //};