Fix a couple of mistakes made in the last commit. It appears to have been too long since I last worked on TC.

This commit is contained in:
Silinoron
2011-08-01 18:25:48 -07:00
parent 286749550f
commit a80b2c0dc0
3 changed files with 10 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->getConfig(CONFIG_MAX_RECRUIT_A_FRIEND_BONUS_PLAYER_LEVEL)) {
if (level % 2 == 0) {
m_grantableLevels++;