mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +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
|
||||
// the restart to the cgame
|
||||
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 ) );
|
||||
return qtrue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue