From 3afa3cecfe43264e09c07ab21518ed7fe0acba7d Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Mon, 1 Aug 2011 10:16:40 +0000 Subject: - Fix already defined command warnings for minimize - Fix recursive CL_Shutdown warning and "command already defined" warnings when quitting while playing on a server that changed the gamedir. --- src/renderer/tr_init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/renderer/tr_init.c') diff --git a/src/renderer/tr_init.c b/src/renderer/tr_init.c index 6819b030..1ef9fde9 100644 --- a/src/renderer/tr_init.c +++ b/src/renderer/tr_init.c @@ -1259,6 +1259,7 @@ void RE_Shutdown( qboolean destroyWindow ) { ri.Cmd_RemoveCommand ("shaderlist"); ri.Cmd_RemoveCommand ("skinlist"); ri.Cmd_RemoveCommand ("gfxinfo"); + ri.Cmd_RemoveCommand("minimize"); ri.Cmd_RemoveCommand( "modelist" ); ri.Cmd_RemoveCommand( "shaderstate" ); -- cgit