diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 26ec90fdd6..b6244d45f1 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -65,9 +65,6 @@ SmartScript::~SmartScript() bool SmartScript::IsSmart(Creature* c /*= nullptr*/) { bool smart = true; - if (!dynamic_cast(c->AI())) - smart = false; - if (!me || me->GetAIName() != "SmartAI") smart = false; @@ -80,9 +77,6 @@ bool SmartScript::IsSmart(Creature* c /*= nullptr*/) bool SmartScript::IsSmartGO(GameObject* g /*= nullptr*/) { bool smart = true; - if (!dynamic_cast(g->AI())) - smart = false; - if (!go || go->GetAIName() != "SmartGameObjectAI") smart = false; if (!smart)