Core/Datastores: use generated member names for MapEntry fields
* load all dbc fields of MapEntry
This commit is contained in:
1 parent
36bd27e347
commit
1e4cc2293a
25 files changed
+120
-111
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user