delay map changes until after the renderer is set, rather than setting one as part of the map change.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2410 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-10-15 03:34:05 +00:00
parent 09ad52722d
commit 3b15e738f8
1 changed files with 8 additions and 0 deletions

View File

@ -446,6 +446,14 @@ void SV_Map_f (void)
int i;
char *startspot;
#ifndef SERVERONLY
if (qrenderer == -1)
{
Cbuf_AddText(va("wait;map %s\n", Cmd_Args()), Cmd_ExecLevel);
return;
}
#endif
if (Cmd_Argc() != 2 && Cmd_Argc() != 3)
{
Con_TPrintf (STL_MAPCOMMANDUSAGE);