diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-26 15:07:18 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-26 15:07:18 +0000 |
commit | 5abd5bd1f8f53b73560cecd4496bfd4bc2acc226 (patch) | |
tree | 1599a2cfc0f4079ce75a649e04542bdc1d8d06d7 /src/char/char.c | |
parent | 391ac7a8a4aedafe818d0559a2011722fa54163c (diff) | |
download | hercules-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/char.c')
-rw-r--r-- | src/char/char.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/char/char.c b/src/char/char.c index ce84dd0aa..dd229999d 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1665,11 +1665,8 @@ int count_users(void) { int mmo_char_send006b(int fd, struct char_session_data *sd) { int i, j, found_num; struct mmo_charstatus *p; -//#ifdef NEW_006b const int offset = 24; -//#else -// const int offset = 4; -//#endif + WFIFOHEAD(fd, offset + 9*108); set_char_online(-1, 99,sd->account_id); @@ -1687,11 +1684,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 |