summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-11 10:56:39 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-11 10:56:39 +0000
commita2af1f425fb90746191f5ae8ae1ee8624739c441 (patch)
treef6fd4534f507544682a2a3b67915f3be288f57e8 /src/char_sql/char.c
parent0f94f735f50a320d97c0dacb806de2a65662cc3c (diff)
downloadhercules-a2af1f425fb90746191f5ae8ae1ee8624739c441.tar.gz
hercules-a2af1f425fb90746191f5ae8ae1ee8624739c441.tar.bz2
hercules-a2af1f425fb90746191f5ae8ae1ee8624739c441.tar.xz
hercules-a2af1f425fb90746191f5ae8ae1ee8624739c441.zip
Fixed a missing include/export, and typos in the previous revision.
Corrected wrong length values in one charserver packet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11714 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 3838d0c1f..4e3d7382e 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -2608,7 +2608,7 @@ int parse_frommap(int fd)
break;
case 0x2b19: // Character set online [Wizputer]
- if (RFIFOREST(fd) < 6)
+ if (RFIFOREST(fd) < 10)
return 0;
set_char_online(id, RFIFOL(fd,2),RFIFOL(fd,6));
RFIFOSKIP(fd,10);