make markloc a little nicer to use. "" no longer needed and can now be used

in the description
This commit is contained in:
Bill Currie 2001-01-15 23:10:49 +00:00
parent 568e4e5909
commit ed042a3d9f

View file

@ -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");