Core/Datastores: use generated member names for MapEntry fields

* load all dbc fields of MapEntry
This commit is contained in:
Ovahlord committed 2019-02-24 00:14:44 +01:00
1 parent 36bd27e347
commit 1e4cc2293a
25 files changed
+120 -111

No files matched your search

+1 -1
View File
@@ -109,7 +109,7 @@ public:
npc_pet_gen_egbertAI(Creature* creature) : NullCreatureAI(creature)
{
if (Unit* owner = me->GetCharmerOrOwner())
if (owner->GetMap()->GetEntry()->addon > 1)
if (owner->GetMap()->GetEntry()->ExpansionID > 1)
me->SetCanFly(true);
}