From d32e2b4c2c8f40f9acd6b88a45729010d758b118 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 6 Feb 2007 21:49:00 +0000 Subject: - Moved define CHAT_SIZE to clif.c, added define CHATBOX_SIZE to specify that 70 char limit of the input area. - Fixed #lvup having the gm level check backwards. - Fixed the stormgust freeze counter going up even if the attack is blocked/cancelled. - Updated mes_len_check to receive max expected size as well (clif.c) - Cleaned up parsing functions for /mm, /resetskill, /resetstate, /item, /monster, /hide - git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9811 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/charcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/charcommand.c') diff --git a/src/map/charcommand.c b/src/map/charcommand.c index 30afa278d..a3c546ab7 100644 --- a/src/map/charcommand.c +++ b/src/map/charcommand.c @@ -1302,7 +1302,7 @@ int charcommand_baselevel( clif_displaymessage(fd, msg_table[3]); // Character not found. return -1; } - if (pc_isGM(sd) >= pc_isGM(pl_sd)) { // you can change base level only lower or same gm level + if (pc_isGM(sd) < pc_isGM(pl_sd)) { // you can change base level only lower or same gm level clif_displaymessage(fd, msg_table[81]); // Your GM level don't authorise you to do this action on this player. return -1; } -- cgit v1.2.3-60-g2f50