mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 21:02:14 +01:00
Fix merge fail
This commit is contained in:
@@ -3449,6 +3449,7 @@ void Map::SendZoneDynamicInfo(Player* player)
|
||||
{
|
||||
WorldPacket data(SMSG_PLAY_MUSIC, 4);
|
||||
data << uint32(music);
|
||||
data << uint64(player->GetGUID());
|
||||
player->SendDirectMessage(&data);
|
||||
}
|
||||
|
||||
@@ -3487,7 +3488,10 @@ void Map::SetZoneMusic(uint32 zoneId, uint32 musicId)
|
||||
for (Map::PlayerList::const_iterator itr = players.begin(); itr != players.end(); ++itr)
|
||||
if (Player* player = itr->GetSource())
|
||||
if (player->GetZoneId() == zoneId)
|
||||
{
|
||||
data << uint64(player->GetGUID());
|
||||
player->SendDirectMessage(&data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user