fix build errors

This commit is contained in:
bash
2025-10-05 23:49:13 +02:00
parent 1faf20f567
commit 780f6d60e0
4 changed files with 5 additions and 5 deletions

View File

@@ -2378,7 +2378,7 @@ void RandomPlayerbotMgr::IncreaseLevel(Player* bot)
void RandomPlayerbotMgr::RandomizeFirst(Player* bot)
{
PlayerbotAI* botAI = GET_PLAYERBOT_AI(player);
PlayerbotAI* botAI = GET_PLAYERBOT_AI(bot);
if (botAI)
return;
@@ -2473,7 +2473,7 @@ void RandomPlayerbotMgr::RandomizeFirst(Player* bot)
void RandomPlayerbotMgr::RandomizeMin(Player* bot)
{
PlayerbotAI* botAI = GET_PLAYERBOT_AI(player);
PlayerbotAI* botAI = GET_PLAYERBOT_AI(bot);
if (botAI)
return;