Warning fixes and some minor changes here and there

- Added GetAchievementPoints to AchievementMgr
This commit is contained in:
Spp
2012-09-18 11:33:09 +02:00
parent b5af7c5c2e
commit c4d4beff3b
11 changed files with 79 additions and 104 deletions

View File

@@ -787,7 +787,7 @@ void WorldSession::HandleGuildRewardsQueryOpcode(WorldPacket& recvPacket)
{
recvPacket.read_skip<uint32>(); // Unk
if (Guild* guild = sGuildMgr->GetGuildById(_player->GetGuildId()))
if (sGuildMgr->GetGuildById(_player->GetGuildId()))
{
std::vector<GuildReward> const& rewards = sGuildMgr->GetGuildRewards();