summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-26 15:07:18 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-26 15:07:18 +0000
commit5abd5bd1f8f53b73560cecd4496bfd4bc2acc226 (patch)
tree1599a2cfc0f4079ce75a649e04542bdc1d8d06d7 /src/char_sql/char.c
parent391ac7a8a4aedafe818d0559a2011722fa54163c (diff)
downloadhercules-5abd5bd1f8f53b73560cecd4496bfd4bc2acc226.tar.gz
hercules-5abd5bd1f8f53b73560cecd4496bfd4bc2acc226.tar.bz2
hercules-5abd5bd1f8f53b73560cecd4496bfd4bc2acc226.tar.xz
hercules-5abd5bd1f8f53b73560cecd4496bfd4bc2acc226.zip
- Cleaned up some more the code so it works for -DTURBO
- Cleaned the pvpoff @ and script commands. - mob_get_random_id now has two additional flags to specify that the monster to acquire should not be a boss type (4) or that it should give exp (8). - TK_MISSION will now pick any mob from the DB as long as it is not a boss type and it gives base exp. - Fixed the double-stone issue when hitting a petrified character. - Minor cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9573 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index b64dc68e4..95b713307 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1708,11 +1708,9 @@ int mmo_char_send006b(int fd, struct char_session_data *sd) {
#if PACKETVER > 7
//Updated packet structure with rename-button included. Credits to Sara-chan
- WFIFOHEAD(fd, offset + found_num * 108);
memset(WFIFOP(fd, 0), 0, offset + found_num * 108);
WFIFOW(fd, 2) = offset + found_num * 108;
#else
- WFIFOHEAD(fd, offset + found_num * 106);
memset(WFIFOP(fd, 0), 0, offset + found_num * 106);
WFIFOW(fd, 2) = offset + found_num * 106;
#endif