mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix initself crash (#1488)
This commit is contained in:
parent
65a3bf481c
commit
baa1aa9e9d
@ -3331,7 +3331,7 @@ void PlayerbotFactory::InitReagents()
|
|||||||
void PlayerbotFactory::InitGlyphs(bool increment)
|
void PlayerbotFactory::InitGlyphs(bool increment)
|
||||||
{
|
{
|
||||||
bot->InitGlyphsForLevel();
|
bot->InitGlyphsForLevel();
|
||||||
if (!increment &&
|
if (!increment && botAI &&
|
||||||
botAI->GetAiObjectContext()->GetValue<bool>("custom_glyphs")->Get())
|
botAI->GetAiObjectContext()->GetValue<bool>("custom_glyphs")->Get())
|
||||||
return; // // Added for custom Glyphs - custom glyphs flag test
|
return; // // Added for custom Glyphs - custom glyphs flag test
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user