Core/AI: ported charm updates from 335
This commit is contained in:
1 parent
346ffe6e91
commit
949f92e0a1
125 files changed
+691
-720
No files matched your search
@@ -1638,10 +1638,8 @@ public:
|
||||
if (!player)
|
||||
return false;
|
||||
Creature* target = handler->getSelectedCreature();
|
||||
if (!target || !target->IsAIEnabled || !target->AI())
|
||||
{
|
||||
if (!target || !target->IsAIEnabled())
|
||||
return false;
|
||||
}
|
||||
|
||||
char* fill_str = args ? strtok((char*)args, " ") : nullptr;
|
||||
char* duration_str = args ? strtok(nullptr, " ") : nullptr;
|
||||
|
||||
Reference in new issue
Block a user