Core/Misc: fix typo - yet another English language lesson: INTERUPT -> INTERRUPT
This commit is contained in:
@@ -889,7 +889,7 @@ Player::~Player ()
|
||||
void Player::CleanupsBeforeDelete(bool finalCleanup)
|
||||
{
|
||||
TradeCancel(false);
|
||||
DuelComplete(DUEL_INTERUPTED);
|
||||
DuelComplete(DUEL_INTERRUPTED);
|
||||
|
||||
Unit::CleanupsBeforeDelete(finalCleanup);
|
||||
|
||||
@@ -7500,13 +7500,13 @@ void Player::DuelComplete(DuelCompleteType type)
|
||||
sLog->outDebug(LOG_FILTER_UNITS, "Duel Complete %s %s", GetName(), duel->opponent->GetName());
|
||||
|
||||
WorldPacket data(SMSG_DUEL_COMPLETE, (1));
|
||||
data << (uint8)((type != DUEL_INTERUPTED) ? 1 : 0);
|
||||
data << (uint8)((type != DUEL_INTERRUPTED) ? 1 : 0);
|
||||
GetSession()->SendPacket(&data);
|
||||
|
||||
if (duel->opponent->GetSession())
|
||||
duel->opponent->GetSession()->SendPacket(&data);
|
||||
|
||||
if (type != DUEL_INTERUPTED)
|
||||
if (type != DUEL_INTERRUPTED)
|
||||
{
|
||||
data.Initialize(SMSG_DUEL_WINNER, (1+20)); // we guess size
|
||||
data << uint8(type == DUEL_WON ? 0 : 1); // 0 = just won; 1 = fled
|
||||
|
||||
Reference in New Issue
Block a user