Skip to content

Commit

Permalink
Build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed Apr 8, 2016
1 parent d4146a2 commit 06734eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/scripts/Pet/pet_generic.cpp
Expand Up @@ -47,7 +47,7 @@ class npc_pet_gen_egbert : public CreatureScript
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);
}

Expand Down

0 comments on commit 06734eb

Please sign in to comment.