]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix a crash
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 May 2011 22:52:32 +0000 (22:52 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 9 May 2011 08:50:22 +0000 (10:50 +0200)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11138 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=aff7b9f6daa22f434d25c50a984abebad71a4f22

sv_main.c

index 4696c3ddbcaf99da1cb8219a43bdefb34f429e2d..ec93e2468c1f06ad88cd52121a010da623d7ac55 100644 (file)
--- 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[] = {
 //};