Move preloading in the continent transport check

This commit is contained in:
FALL1N1
2018-07-26 16:50:50 +03:00
committed by Barbz
parent 1f51bf41cd
commit c6be57c232
+1 -1
View File
@@ -427,7 +427,6 @@ void TransportMgr::SpawnContinentTransports()
} }
sLog->outString(">> Spawned %u continent motion transports in %u ms", count, GetMSTimeDiffToNow(oldMSTime)); sLog->outString(">> Spawned %u continent motion transports in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
}
if (sWorld->getBoolConfig(CONFIG_ENABLE_CONTINENT_TRANSPORT_PRELOADING)) if (sWorld->getBoolConfig(CONFIG_ENABLE_CONTINENT_TRANSPORT_PRELOADING))
{ {
@@ -458,6 +457,7 @@ void TransportMgr::SpawnContinentTransports()
sLog->outString(">> Preloaded grids for %u continent static transports in %u ms", count, GetMSTimeDiffToNow(oldMSTime)); sLog->outString(">> Preloaded grids for %u continent static transports in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
} }
} }
}
void TransportMgr::CreateInstanceTransports(Map* map) void TransportMgr::CreateInstanceTransports(Map* map)
{ {