mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
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:
parent
09ad52722d
commit
3b15e738f8
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue