Mercurial > mm7
comparison Player.cpp @ 1564:461c2eca401b
fixing compilation error
author | Grumpy7 |
---|---|
date | Sun, 08 Sep 2013 03:27:10 +0200 |
parents | 0311debb684c |
children | 58420268d87d |
comparison
equal
deleted
inserted
replaced
1563:0311debb684c | 1564:461c2eca401b |
---|---|
1890 //----- (0048D45A) -------------------------------------------------------- | 1890 //----- (0048D45A) -------------------------------------------------------- |
1891 bool Player::CanTrainToNextLevel() | 1891 bool Player::CanTrainToNextLevel() |
1892 { | 1892 { |
1893 int lvl = this->uLevel; | 1893 int lvl = this->uLevel; |
1894 int neededExp = ((lvl * (lvl - 1)) / 2 * 1000); | 1894 int neededExp = ((lvl * (lvl - 1)) / 2 * 1000); |
1895 return this->uExperience >= neededExp; | |
1895 } | 1896 } |
1896 | 1897 |
1897 //----- (0048D498) -------------------------------------------------------- | 1898 //----- (0048D498) -------------------------------------------------------- |
1898 unsigned int Player::GetExperienceDisplayColor() | 1899 unsigned int Player::GetExperienceDisplayColor() |
1899 { | 1900 { |