A few more mistakes are fixed. Keep in mind you have to re-run cmake in order to compile properly.

This commit is contained in:
Silinoron
2011-08-01 18:54:03 -07:00
parent a80b2c0dc0
commit 588f5af26a
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3063,7 +3063,7 @@ void Player::GiveLevel(uint8 level)
// Refer-A-Friend
if (GetSession()->GetRecruiterId())
if (level < sWorld->getConfig(CONFIG_MAX_RECRUIT_A_FRIEND_BONUS_PLAYER_LEVEL)) {
if (level < sWorld->getIntConfig(CONFIG_MAX_RECRUIT_A_FRIEND_BONUS_PLAYER_LEVEL))
if (level % 2 == 0) {
m_grantableLevels++;