diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-06 21:49:00 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-06 21:49:00 +0000 |
commit | d32e2b4c2c8f40f9acd6b88a45729010d758b118 (patch) | |
tree | b0040b116d347c6ab1ca876ca9cf4e75f30baf9b /src/map/charcommand.c | |
parent | 0f79342a3fe4ce80a37f6792d4154fa97c8560b0 (diff) | |
download | hercules-d32e2b4c2c8f40f9acd6b88a45729010d758b118.tar.gz hercules-d32e2b4c2c8f40f9acd6b88a45729010d758b118.tar.bz2 hercules-d32e2b4c2c8f40f9acd6b88a45729010d758b118.tar.xz hercules-d32e2b4c2c8f40f9acd6b88a45729010d758b118.zip |
- 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
Diffstat (limited to 'src/map/charcommand.c')
-rw-r--r-- | src/map/charcommand.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |