changeset 1564:461c2eca401b

fixing compilation error
author Grumpy7
date Sun, 08 Sep 2013 03:27:10 +0200
parents 0311debb684c
children 58420268d87d
files Player.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Player.cpp	Sun Sep 08 02:41:10 2013 +0200
+++ b/Player.cpp	Sun Sep 08 03:27:10 2013 +0200
@@ -1892,6 +1892,7 @@
 {
   int lvl = this->uLevel;
   int neededExp = ((lvl * (lvl - 1)) / 2 * 1000);
+  return this->uExperience >= neededExp;
 }
 
 //----- (0048D498) --------------------------------------------------------