print the "message" of the map when displying the map name and time

This commit is contained in:
Bill Currie 2010-08-13 05:17:18 +00:00 committed by Jeff Teunissen
parent cc697236e5
commit a9511cb69e
2 changed files with 6 additions and 2 deletions

View file

@ -281,7 +281,9 @@ Host_Map_f (void)
return;
}
if (Cmd_Argc () == 1) {
Sys_Printf ("map is %s (%s)\n", sv.name, nice_time (sv.time));
Sys_Printf ("map is %s \"%s\" (%s)\n", sv.name,
PR_GetString (&sv_pr_state, SVstring (sv.edicts, message)),
nice_time (sv.time));
return;
}

View file

@ -447,7 +447,9 @@ SV_Map_f (void)
return;
}
if (Cmd_Argc () == 1) {
SV_Printf ("map is %s (%s)\n", curlevel->str, nice_time (sv.time));
SV_Printf ("map is %s \"%s\" (%s)\n", curlevel->str,
PR_GetString (&sv_pr_state, SVstring (sv.edicts, message)),
nice_time (sv.time));
return;
}
level = Cmd_Argv (1);