aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Battlegrounds/Arena.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2014-10-25 15:04:38 +0200
committerShauren <shauren.trinity@gmail.com>2014-10-25 15:04:38 +0200
commita363c88f03f2d8ca26d8b2143027a49e0fe75111 (patch)
treed289f3ff7b21d7a8c6b2a6649a8b6ccc779115fa /src/server/game/Battlegrounds/Arena.cpp
parentddd57d33325ba710b52135146587497d7fa4145f (diff)
Core/Guilds: Fifth part of converting int to bigint guids in database
Diffstat (limited to 'src/server/game/Battlegrounds/Arena.cpp')
-rw-r--r--src/server/game/Battlegrounds/Arena.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Battlegrounds/Arena.cpp b/src/server/game/Battlegrounds/Arena.cpp
index a31bc2b3dd7..69b2ed75bc7 100644
--- a/src/server/game/Battlegrounds/Arena.cpp
+++ b/src/server/game/Battlegrounds/Arena.cpp
@@ -233,7 +233,7 @@ void Arena::EndBattleground(uint32 winner)
if (!guildAwarded)
{
guildAwarded = true;
- if (uint32 guildId = GetBgMap()->GetOwnerGuildId(player->GetBGTeam()))
+ if (ObjectGuid::LowType guildId = GetBgMap()->GetOwnerGuildId(player->GetBGTeam()))
if (Guild* guild = sGuildMgr->GetGuildById(guildId))
guild->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_WIN_RATED_ARENA, std::max<uint32>(winnerArenaTeam->GetRating(), 1), 0, 0, NULL, player);
}