Core/Packets: fixed build
This commit is contained in:
1 parent
b5bdf61e5f
commit
57825bc011
1 file changed
+1
-1
@@ -4726,7 +4726,7 @@ 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 && !player->HasAuraType(SPELL_AURA_FORCE_WEATHER))
|
||||
player->SendDirectMessage(WorldPackets::Misc::PlayMusic(musicId, player->GetGUID()).Write);
|
||||
player->SendDirectMessage(WorldPackets::Misc::PlayMusic(musicId, player->GetGUID()).Write());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user