aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-12 07:16:20 -0500
committermegamage <none@none>2009-08-12 07:16:20 -0500
commit1bdc65e5ee06e13d7b898feccdcbec49ba1299f0 (patch)
tree2f346690d58275b461b59fb11b5f01732f61ad40 /src
parent296771f7e7207ece5d88dce853f95a0c898d67f6 (diff)
*Send area id instead of zone id in local defense channel. By durotar
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Creature.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp
index fc2185bb5a8..34d37556a88 100644
--- a/src/game/Creature.cpp
+++ b/src/game/Creature.cpp
@@ -2263,7 +2263,7 @@ void Creature::SendZoneUnderAttackMessage(Player* attacker)
uint32 enemy_team = attacker->GetTeam();
WorldPacket data(SMSG_ZONE_UNDER_ATTACK,4);
- data << (uint32)GetZoneId();
+ data << (uint32)GetAreaId();
sWorld.SendGlobalMessage(&data,NULL,(enemy_team==ALLIANCE ? HORDE : ALLIANCE));
}