summaryrefslogtreecommitdiff
path: root/src/char_sql
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-20 22:16:19 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-20 22:16:19 +0000
commitabf5a30aae55b878ca9352d00853d2ca62408283 (patch)
tree0fb0972ff1a2b19e2d6b34ff5d410654bb34aaa0 /src/char_sql
parentbf217fad8c8d6f19258ff437576726849a4d5e4a (diff)
downloadhercules-abf5a30aae55b878ca9352d00853d2ca62408283.tar.gz
hercules-abf5a30aae55b878ca9352d00853d2ca62408283.tar.bz2
hercules-abf5a30aae55b878ca9352d00853d2ca62408283.tar.xz
hercules-abf5a30aae55b878ca9352d00853d2ca62408283.zip
- Added back the char-sql server sending the GM list when the map server connects.
- Fixed a bug in the add_timer_interval error reporting. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5351 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r--src/char_sql/char.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 0fea5b016..dca9a28a1 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -3352,7 +3352,7 @@ int parse_char(int fd) {
WFIFOB(fd,2) = 3;
WFIFOSET(fd, 3);
} else {
-// int len;
+ int len;
WFIFOB(fd,2) = 0;
WFIFOSET(fd, 3);
session[fd]->func_parse = parse_frommap;
@@ -3364,7 +3364,6 @@ int parse_char(int fd) {
realloc_fifo(fd, FIFOSIZE_SERVERLINK, FIFOSIZE_SERVERLINK);
char_mapif_init(fd);
// send gm acccounts level to map-servers
-/* removed by CLOWNISIUS due to isGM
len = 4;
WFIFOW(fd,0) = 0x2b15;
for(i = 0; i < GM_num; i++) {
@@ -3373,7 +3372,7 @@ int parse_char(int fd) {
len += 5;
}
WFIFOW(fd,2) = len;
- WFIFOSET(fd,len);*/
+ WFIFOSET(fd,len);
}
RFIFOSKIP(fd,60);
break;