Core: updated creature type flags enum (#17128)

Core/Misc: Update CreatureTypeFlags enum according to TrinityCoreWiki
This commit is contained in:
Aokromes committed 2016-07-20 13:47:25 +02:00
1 parent 712baeba27
commit 006d89310b
9 files changed
+52 -52

No files matched your search

+1 -1
View File
@@ -468,7 +468,7 @@ bool SmartAI::AssistPlayerInCombat(Unit* who)
return false;
//experimental (unknown) flag not present
if (!(me->GetCreatureTemplate()->type_flags & CREATURE_TYPEFLAGS_AID_PLAYERS))
if (!(me->GetCreatureTemplate()->type_flags & CREATURE_TYPE_FLAG_CAN_ASSIST))
return false;
//not a player