mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
make markloc a little nicer to use. "" no longer needed and can now be used
in the description
This commit is contained in:
parent
568e4e5909
commit
ed042a3d9f
1 changed files with 2 additions and 2 deletions
|
@ -355,13 +355,13 @@ locs_markloc (void)
|
|||
QFile *locfd;
|
||||
char locfile[MAX_OSPATH];
|
||||
|
||||
if (Cmd_Argc () != 2) {
|
||||
if (Cmd_Argc () == 1) {
|
||||
Con_Printf
|
||||
("markloc <description> :marks the current location with the description and records the information into a loc file.\n");
|
||||
return;
|
||||
}
|
||||
VectorCopy (cl.simorg, loc);
|
||||
locs_add (loc, Cmd_Argv (1));
|
||||
locs_add (loc, Cmd_Args ());
|
||||
#ifdef HAVE_ZLIB
|
||||
if(locisgz) {
|
||||
Cmd_ExecuteString ("zdumploc");
|
||||
|
|
Loading…
Reference in a new issue