From f8b424e28290c817a8602275f738362a1a4cdc1c Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 6 May 2005 06:09:33 +0000 Subject: [PATCH] removed a clear of names in the render modules init code, this allows it to be called AFTER some modules are registered (for a minor cleanup of the Host_Init code) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5231 d7cf8633-e32d-0410-b094-e92efae38249 --- r_modules.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/r_modules.c b/r_modules.c index 0899b880..fc0186a3 100644 --- a/r_modules.c +++ b/r_modules.c @@ -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)) -- 2.39.2