From 26d26735a1a8c73bd466cf1942f842a66eaabc62 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 15 Feb 2006 13:14:30 +0000 Subject: - 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 --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') 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); -- cgit v1.2.3-70-g09d2