mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 14:41:42 +00:00
Don't send a 0-length command to cgame during map_restart.
Fixes Bugzilla #3965.
This commit is contained in:
parent
62ea802cea
commit
6978dcf645
1 changed files with 2 additions and 0 deletions
|
@ -339,6 +339,8 @@ rescan:
|
||||||
// clear notify lines and outgoing commands before passing
|
// clear notify lines and outgoing commands before passing
|
||||||
// the restart to the cgame
|
// the restart to the cgame
|
||||||
Con_ClearNotify();
|
Con_ClearNotify();
|
||||||
|
// reparse the string, because Con_ClearNotify() may have done another Cmd_TokenizeString()
|
||||||
|
Cmd_TokenizeString( s );
|
||||||
Com_Memset( cl.cmds, 0, sizeof( cl.cmds ) );
|
Com_Memset( cl.cmds, 0, sizeof( cl.cmds ) );
|
||||||
return qtrue;
|
return qtrue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue