summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-21 15:46:36 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-21 15:46:36 +0000
commitb8e86044ea41feb23de00bd36b45b80d9837425f (patch)
tree43f4f14680f5245c68fb64ac4083983feef0d566 /src/map/pc.c
parent3fc3bc499c203c6cb17d10709bf1f589a44d0642 (diff)
downloadhercules-b8e86044ea41feb23de00bd36b45b80d9837425f.tar.gz
hercules-b8e86044ea41feb23de00bd36b45b80d9837425f.tar.bz2
hercules-b8e86044ea41feb23de00bd36b45b80d9837425f.tar.xz
hercules-b8e86044ea41feb23de00bd36b45b80d9837425f.zip
- Small bug fixes found during merging to stable process, includes correct HP scaling when hp-meter is enabled and max hp is above SHRT_MAX
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7802 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 75fc34b7e..dd8d15f09 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4151,7 +4151,7 @@ int pc_gainexp(struct map_session_data *sd, struct block_list *src, unsigned int
else
sd->status.job_exp += job_exp;
- while(pc_checkjoblevelup(sd)) ;
+ pc_checkjoblevelup(sd);
clif_updatestatus(sd,SP_JOBEXP);