[optimization] Fixed several compilation warnings

This commit is contained in:
yang
2024-05-26 12:19:13 +08:00
parent 7239c68912
commit 3fb3610ad3
9 changed files with 26 additions and 26 deletions

View File

@@ -673,6 +673,7 @@ Engine* AiFactory::createNonCombatEngine(Player* player, PlayerbotAI* const faca
void AiFactory::AddDefaultDeadStrategies(Player* player, PlayerbotAI* const facade, Engine* deadEngine)
{
(void)facade; // unused and remove warning
deadEngine->addStrategies("dead", "stay", "chat", "default", "follow", nullptr);
if (sRandomPlayerbotMgr->IsRandomBot(player) && !player->GetGroup())