Open
Description
The issue here is that testing mission maps with this kind of behavior is irritating at best.
I've been creating missions for ages, and this is one of the issues I really want to get fixed. Until now, this problem has persisted—yet it can easily be resolved with an edit to MapUtil.cpp.
//-------------------------------------------------------------------------------------------------
/** Validate a map */
//-------------------------------------------------------------------------------------------------
Bool isValidMap( AsciiString mapName, Bool isMultiplayer )
{
if(!TheMapCache || mapName.isEmpty())
return FALSE;
TheMapCache->updateCache();
mapName.toLower();
MapCache::iterator it = TheMapCache->find(mapName);
if (it != TheMapCache->end())
{
// if (isMultiplayer == it->second.m_isMultiplayer) -- commenting this out to make it work
// {
return TRUE;
// }
}
return FALSE;
} // end isValidMap
Please apply this fix thanks!