mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 13:50:53 +00:00
no param edit fix, but edit is still horribly broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1231 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
858239691a
commit
c6896ca186
1 changed files with 6 additions and 0 deletions
|
@ -1028,6 +1028,12 @@ int QCLibEditor(progfuncs_t *prfncs, char *filename, int line, int nump, char **
|
|||
|
||||
void Editor_f(void)
|
||||
{
|
||||
if (Cmd_Argc() != 2)
|
||||
{
|
||||
Con_Printf("edit <filename>\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (editoractive)
|
||||
EditorSaveFile(OpenEditorFile);
|
||||
EditorOpenFile(Cmd_Argv(1));
|
||||
|
|
Loading…
Reference in a new issue