diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-14 09:45:56 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-14 09:45:56 +0000 |
commit | e1c7f1b188ed441801a0ad9932c08fc7e17517ca (patch) | |
tree | 9fb3f791513861b7ad66898e9ccaa8c8ddd65f71 /src/map/atcommand.c | |
parent | 46e3a8ecf6c3582876e195a62add9a5ccf3dd62c (diff) | |
download | hercules-e1c7f1b188ed441801a0ad9932c08fc7e17517ca.tar.gz hercules-e1c7f1b188ed441801a0ad9932c08fc7e17517ca.tar.bz2 hercules-e1c7f1b188ed441801a0ad9932c08fc7e17517ca.tar.xz hercules-e1c7f1b188ed441801a0ad9932c08fc7e17517ca.zip |
Follow up r16632, added check on level up so that the equip is automatically unequipped when you leave the elvmax range, special thanks to mistah_j for pointing out.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16633 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 4f4c7854a..cfa87c79a 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1584,6 +1584,7 @@ ACMD_FUNC(baselevelup) clif_updatestatus(sd, SP_BASEEXP); clif_updatestatus(sd, SP_NEXTBASEEXP); status_calc_pc(sd, 0); + pc_baselevelchanged(sd); if(sd->status.party_id) party_send_levelup(sd); return 0; |