Fix macos compilation

This commit is contained in:
Yunfan Li
2024-03-18 14:25:56 +08:00
parent be5a3277f9
commit 1ba3eae0d0
3 changed files with 14 additions and 14 deletions

View File

@@ -353,7 +353,7 @@ class PlayerbotAI : public PlayerbotAIBase
Player* GetPlayer(ObjectGuid guid);
static Unit* GetUnit(CreatureData const* creatureData);
GameObject* GetGameObject(ObjectGuid guid);
static GameObject* GetGameObject(GameObjectData const* gameObjectData);
// static GameObject* GetGameObject(GameObjectData const* gameObjectData);
WorldObject* GetWorldObject(ObjectGuid guid);
bool TellMaster(std::ostringstream& stream, PlayerbotSecurityLevel securityLevel = PLAYERBOT_SECURITY_ALLOW_ALL);
bool TellMaster(std::string const text, PlayerbotSecurityLevel securityLevel = PLAYERBOT_SECURITY_ALLOW_ALL);