Core/Misc: fix typo - yet another English language lesson: INTERUPT -> INTERRUPT

This commit is contained in:
Az@zel
2011-05-11 11:17:20 +06:00
parent f73c6c40bb
commit 58f0a4b152
4 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -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