Spawn on login working

This commit is contained in:
neckkola
2022-01-17 23:53:25 -04:00
parent 937d1b1a51
commit 29ec914565
3 changed files with 21 additions and 16 deletions
+2 -2
View File
@@ -2300,8 +2300,8 @@ bool Bot::Process()
}
// Bot AI
Raid* raid = entity_list.GetRaidByBot(this);
if (raid)
uint32 raid = entity_list.GetRaidByBot(this)->GetID();
if (raid >= 0)
AI_Process_Raid();
else
AI_Process();