summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-15 13:14:30 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-15 13:14:30 +0000
commit26d26735a1a8c73bd466cf1942f842a66eaabc62 (patch)
tree487e8bc8d240c436c8e8e4384ca4af9c2113187d /src/map/atcommand.c
parent5a6c73fcc0948c1b570b5df99b191514d06337dd (diff)
downloadhercules-26d26735a1a8c73bd466cf1942f842a66eaabc62.tar.gz
hercules-26d26735a1a8c73bd466cf1942f842a66eaabc62.tar.bz2
hercules-26d26735a1a8c73bd466cf1942f842a66eaabc62.tar.xz
hercules-26d26735a1a8c73bd466cf1942f842a66eaabc62.zip
- Fixed @lvup commmand raising levels when you specify a negative value...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5285 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 911cada4a..122bfe077 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2707,7 +2707,7 @@ int atcommand_baselevelup(
sd->status.status_point = 0;
clif_updatestatus(sd, SP_STATUSPOINT);
} /* to add: remove status points from stats */
- sd->status.base_level += level;
+ sd->status.base_level -= level;
clif_updatestatus(sd, SP_BASELEVEL);
clif_updatestatus(sd, SP_NEXTBASEEXP);
status_calc_pc(sd, 0);