mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix crash with AutoDoQuest = 0
This commit is contained in:
parent
4bf5217d9c
commit
160792c8a4
@ -618,13 +618,6 @@ bool PlayerbotAIConfig::Initialize()
|
|||||||
PlayerbotFactory::Init();
|
PlayerbotFactory::Init();
|
||||||
|
|
||||||
AiObjectContext::BuildAllSharedContexts();
|
AiObjectContext::BuildAllSharedContexts();
|
||||||
|
|
||||||
if (!sPlayerbotAIConfig->autoDoQuests)
|
|
||||||
{
|
|
||||||
LOG_INFO("server.loading", "Loading Quest Detail Data...");
|
|
||||||
sTravelMgr->LoadQuestTravelTable();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (sPlayerbotAIConfig->randomBotSuggestDungeons)
|
if (sPlayerbotAIConfig->randomBotSuggestDungeons)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user