Should be out of the check.

This commit is contained in:
Kartselyanski
2018-06-13 01:46:41 +03:00
committed by Barbz
parent ea8c85c886
commit 21aae9eec5

View File

@@ -403,11 +403,11 @@ void TransportMgr::SpawnContinentTransports()
if (_transportTemplates.empty())
return;
uint32 oldMSTime = getMSTime();
uint32 count = 0;
if (sWorld->getBoolConfig(CONFIG_ENABLE_CONTINENT_TRANSPORT))
{
uint32 oldMSTime = getMSTime();
QueryResult result = WorldDatabase.Query("SELECT guid, entry FROM transports");
uint32 count = 0;
if (result)
{
do