]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_modules.c
removed a clear of names in the render modules init code, this allows it to be called...
[xonotic/darkplaces.git] / 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))