mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
@@ -534,13 +534,6 @@ void SelectionTab::parseMaps(const std::unordered_set<ResourceID> & files)
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
const std::string filename_prefix = file.getName().substr(file.getName().find_last_of("/\\") + 1, 2);
|
|
||||||
if(filename_prefix == "__")
|
|
||||||
{
|
|
||||||
logGlobal->trace("Map %s marked as hidden");
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
auto mapInfo = std::make_shared<CMapInfo>();
|
auto mapInfo = std::make_shared<CMapInfo>();
|
||||||
mapInfo->mapInit(file.getName());
|
mapInfo->mapInit(file.getName());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user