dont send server icon if current map is supposed to be hidden
in line with kart not sending maptitle to ms in the same case
This commit is contained in:
1 parent
2c0bf12441
commit
9fcd35204e
1 file changed
+1
-1
+1
-1
@@ -1728,7 +1728,7 @@ static void SV_SendMapIcon(INT32 node)
|
||||
doomdata_t *netbuffer = DOOMCOM_DATA(doomcom);
|
||||
|
||||
const char *map = va("%sP", G_BuildMapName(gamemap));
|
||||
if (!W_LumpExists(map))
|
||||
if (!W_LumpExists(map) || (mapheaderinfo[gamemap-1]->menuflags & LF2_HIDEINMENU))
|
||||
{
|
||||
// send an empty icon to tell the client there is no map icon
|
||||
netbuffer->packettype = PT_MAPICON;
|
||||
|
||||
Reference in new issue
Block a user