summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-11-06 20:23:33 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-11-06 20:23:33 +0000
commitc359ed680a6aecc5180f3a5990981ffc226a8787 (patch)
treea2588e82ee99374a80bf0e2eef342b638c1af016 /src
parent42001500a31afb0b58ebc58689a7c87ba4e0b9bf (diff)
downloadhercules-c359ed680a6aecc5180f3a5990981ffc226a8787.tar.gz
hercules-c359ed680a6aecc5180f3a5990981ffc226a8787.tar.bz2
hercules-c359ed680a6aecc5180f3a5990981ffc226a8787.tar.xz
hercules-c359ed680a6aecc5180f3a5990981ffc226a8787.zip
* Fixed 'Char creation denied' message not being sent properly.
- Number 2 didn't exist in old clients so it used the default message, now it exists so the wrong message is displayed. - Changed 2 to 0xFF to get the default message. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13356 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char/char.c2
-rw-r--r--src/char_sql/char.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c
index 11e99d64c..3d9df5752 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -3439,7 +3439,7 @@ int parse_char(int fd)
WFIFOW(fd,0) = 0x6e;
switch (i) {
case -1: WFIFOB(fd,2) = 0x00; break;
- case -2: WFIFOB(fd,2) = 0x02; break;
+ case -2: WFIFOB(fd,2) = 0xFF; break;
case -3: WFIFOB(fd,2) = 0x01; break;
}
WFIFOSET(fd,3);
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 9cba965dc..16392eef5 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -3107,7 +3107,7 @@ int parse_char(int fd)
WFIFOW(fd,0) = 0x6e;
switch (i) {
case -1: WFIFOB(fd,2) = 0x00; break;
- case -2: WFIFOB(fd,2) = 0x02; break;
+ case -2: WFIFOB(fd,2) = 0xFF; break;
case -3: WFIFOB(fd,2) = 0x01; break;
}
WFIFOSET(fd,3);