summaryrefslogtreecommitdiff
path: root/src/char
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
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')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index b1e49442b..2df5a7318 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -3101,7 +3101,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);