Core/Misc: fix compilation warnings
This commit is contained in:
@@ -840,7 +840,7 @@ void WorldSession::HandleTurnInPetitionOpcode(WorldPacket & recv_data)
|
||||
// Create arena team
|
||||
ArenaTeam* arenaTeam = new ArenaTeam();
|
||||
|
||||
if (!arenaTeam->Create(_player->GetGUID(), type, name, background, icon, iconcolor, border, bordercolor))
|
||||
if (!arenaTeam->Create(GUID_LOPART(_player->GetGUID()), type, name, background, icon, iconcolor, border, bordercolor))
|
||||
{
|
||||
delete arenaTeam;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user