Move preloading in the continent transport check
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user