]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
removed a clear of names in the render modules init code, this allows it to be called...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2005 06:09:33 +0000 (06:09 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2005 06:09:33 +0000 (06:09 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5231 d7cf8633-e32d-0410-b094-e92efae38249

r_modules.c

index 0899b880d4cc2e71ed3d2e42a3a23dcbef2b8b70..fc0186a3e852e50fe4b71a8992fa9bb5785dc30e 100644 (file)
@@ -17,10 +17,7 @@ rendermodule_t rendermodule[MAXRENDERMODULES];
 
 void R_Modules_Init(void)
 {
-       int i;
        Cmd_AddCommand("r_restart", R_Modules_Restart);
-       for (i = 0;i < MAXRENDERMODULES;i++)
-               rendermodule[i].name = NULL;
 }
 
 void R_RegisterModule(char *name, void(*start)(void), void(*shutdown)(void), void(*newmap)(void))