Core/Battleground: Fix team logo at countdown timer expire by @Vincent-Michael
Fix typo when refunding currencies, thx @kennylive
This commit is contained in:
@@ -299,7 +299,7 @@ void BattlegroundMgr::BuildBattlegroundStatusPacket(WorldPacket *data, Battlegro
|
||||
data->WriteBit(bgGuid[7]);
|
||||
data->WriteBit(bgGuid[1]);
|
||||
data->WriteBit(playerGuid[5]);
|
||||
data->WriteBit(player->GetBGTeam() == TEAM_HORDE);
|
||||
data->WriteBit(player->GetBGTeam() == HORDE ? 0 : 1);
|
||||
data->WriteBit(bgGuid[0]);
|
||||
data->WriteBit(playerGuid[1]);
|
||||
data->WriteBit(bgGuid[3]);
|
||||
@@ -399,7 +399,7 @@ void BattlegroundMgr::BuildPvpLogDataPacket(WorldPacket* data, Battleground* bg)
|
||||
data->WriteBit(playerGUID[5]);
|
||||
data->WriteBit(playerGUID[1]);
|
||||
data->WriteBit(playerGUID[6]);
|
||||
data->WriteBit(player->GetBGTeam() == TEAM_ALLIANCE);
|
||||
data->WriteBit(player->GetBGTeam() == HORDE ? 0 : 1);
|
||||
data->WriteBit(playerGUID[7]);
|
||||
|
||||
buff << uint32(itr->second->HealingDone); // healing done
|
||||
|
||||
@@ -26152,7 +26152,7 @@ void Player::RefundItem(Item* item)
|
||||
uint32 count = iece->RequiredCurrencyCount[i];
|
||||
uint32 currencyid = iece->RequiredCurrency[i];
|
||||
if (count && currencyid)
|
||||
ModifyCurrency(currencyid, count);
|
||||
ModifyCurrency(currencyid, count / CURRENCY_PRECISION);
|
||||
}
|
||||
|
||||
// Grant back money
|
||||
|
||||
Reference in New Issue
Block a user