summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/atcommand.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 35e009459..b15c5c2a3 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,9 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
+2006/02/15
+ * Fixed @lvup command adding levels instead of substracting when you
+ specify a negative quantity. [Skotlex]
2006/02/14
* pc_setinventorydata won't use itemdb_search on empty inventory slots (id
= 0) [Skotlex]
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);