Fix crash in Player::DuelComplete.
Fixes issue #1243. --HG-- branch : trunk
This commit is contained in:
+3
-1
@@ -6819,7 +6819,9 @@ void Player::DuelComplete(DuelCompleteType type)
|
||||
WorldPacket data(SMSG_DUEL_COMPLETE, (1));
|
||||
data << (uint8)((type != DUEL_INTERUPTED) ? 1 : 0);
|
||||
GetSession()->SendPacket(&data);
|
||||
duel->opponent->GetSession()->SendPacket(&data);
|
||||
|
||||
if (duel->opponent->GetSession())
|
||||
duel->opponent->GetSession()->SendPacket(&data);
|
||||
|
||||
if (type != DUEL_INTERUPTED)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user