Core: updated creature type flags enum (#17128)

Core/Misc: Update CreatureTypeFlags enum according to TrinityCoreWiki
This commit is contained in:
ForesterDev
2016-05-26 12:56:50 +04:00
committed by Treeston
parent b0f9a998e1
commit fb0881398a
9 changed files with 52 additions and 52 deletions

View File

@@ -69,7 +69,7 @@ bool FollowerAI::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