Core: try to compile fix

This commit is contained in:
Aokromes committed 2016-05-04 17:50:30 +02:00
1 parent 44814b0dc7
commit 4af1006aba
1 file changed
+3 -3
+3 -3
View File
@@ -20902,7 +20902,7 @@ void Player::SendRemoveControlBar() const
GetSession()->SendPacket(&data);
}
bool Player::IsAffectedBySpellmod(SpellInfo const* spellInfo, SpellModifier* mod, Spell* spell) const
bool Player::IsAffectedBySpellmod(SpellInfo const* spellInfo, SpellModifier* mod, Spell* spell)
{
if (!mod || !spellInfo)
return false;
@@ -24576,7 +24576,7 @@ bool Player::CanCaptureTowerPoint() const
IsAlive()); // live player
}
uint32 Player::GetBarberShopCost(uint8 newhairstyle, uint8 newhaircolor, uint8 newfacialhair, BarberShopStyleEntry const* newSkin) const
uint32 Player::GetBarberShopCost(uint8 newhairstyle, uint8 newhaircolor, uint8 newfacialhair, BarberShopStyleEntry const* newSkin)
{
uint8 level = getLevel();
@@ -26380,7 +26380,7 @@ uint32 Player::GetReputation(uint32 factionentry) const
return GetReputationMgr().GetReputation(sFactionStore.LookupEntry(factionentry));
}
std::string Player::GetGuildName()
std::string Player::GetGuildName() const
{
return GetGuildId() ? sGuildMgr->GetGuildById(GetGuildId())->GetName() : "";
}