mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 15:27:47 -04:00
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG-- branch : trunk
This commit is contained in:
@@ -111,7 +111,7 @@ class SmartScript
|
||||
if (c && c->GetAIName() != "SmartAI") smart = false;
|
||||
if (!me || me->GetAIName() != "SmartAI") smart = false;
|
||||
if (!smart)
|
||||
sLog.outErrorDb("SmartScript: Action target Creature(entry: %u) is not using SmartAI, action skipped to prevent crash.", c?c->GetEntry():(me?me->GetEntry():0));
|
||||
sLog->outErrorDb("SmartScript: Action target Creature(entry: %u) is not using SmartAI, action skipped to prevent crash.", c?c->GetEntry():(me?me->GetEntry():0));
|
||||
return smart;
|
||||
}
|
||||
bool IsSmartGO(GameObject* g = NULL)
|
||||
@@ -120,7 +120,7 @@ class SmartScript
|
||||
if (g && g->GetAIName() != "SmartGameObjectAI") smart = false;
|
||||
if (!go || go->GetAIName() != "SmartGameObjectAI") smart = false;
|
||||
if (!smart)
|
||||
sLog.outErrorDb("SmartScript: Action target GameObject(entry: %u) is not using SmartGameObjectAI, action skipped to prevent crash.", g?g->GetEntry():(go?go->GetEntry():0));
|
||||
sLog->outErrorDb("SmartScript: Action target GameObject(entry: %u) is not using SmartGameObjectAI, action skipped to prevent crash.", g?g->GetEntry():(go?go->GetEntry():0));
|
||||
return smart;
|
||||
}
|
||||
ObjectList* GetTargetList(uint32 id)
|
||||
|
||||
Reference in New Issue
Block a user