mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Fixed a stupid bug in Cmd_Exec_f that was causing map commands inside
executed files to crash the server.
This commit is contained in:
parent
73f32465c5
commit
7c4cecd700
1 changed files with 2 additions and 2 deletions
|
@ -577,9 +577,9 @@ Cmd_Exec_f (void)
|
|||
&& (cmd_warncmd->int_val || (developer && developer->int_val)))
|
||||
Sys_Printf ("execing %s\n", Cmd_Argv (1));
|
||||
sub = Cmd_NewBuffer (true);
|
||||
Cbuf_InsertTextTo (sub, f);
|
||||
Cmd_ExecuteSubroutine (sub); // Execute file in it's own buffer
|
||||
Cbuf_AddTextTo (sub, f);
|
||||
Hunk_FreeToLowMark (mark);
|
||||
Cmd_ExecuteSubroutine (sub); // Execute file in it's own buffer
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue