aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/scripts/World/npcs_special.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp
index a6c3eec1858..525dec6ff82 100644
--- a/src/server/scripts/World/npcs_special.cpp
+++ b/src/server/scripts/World/npcs_special.cpp
@@ -2529,7 +2529,7 @@ public:
npc_egbertAI(Creature* creature) : PetAI(creature)
{
if (Unit* owner = me->GetCharmerOrOwner())
- if (owner->GetMap()->GetEntry()->addon > 1)
+ if (owner->GetMap()->GetEntry()->ExpansionID > 1)
me->SetCanFly(true);
}