Fix for the correct map name when playing back an MVD.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@615 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-12-10 03:04:42 +00:00
parent 73966f4eb0
commit 9611c2acc3

View file

@ -202,7 +202,10 @@ void SV_New_f (void)
MSG_WriteByte (&host_client->netchan.message, 128);
// send full levelname
MSG_WriteString (&host_client->netchan.message, sv.mapname);
if (sv.demostatevalid)
MSG_WriteString (&host_client->netchan.message, sv.demfullmapname);
else
MSG_WriteString (&host_client->netchan.message, sv.mapname);
//
// game server