summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-16 19:49:33 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-16 19:49:33 +0000
commit9a274a0fdb76313ff46861682d1eda67898548e6 (patch)
tree20c2849399783f6e985be5d3307fb4645999d7a4 /src/char_sql/char.c
parentd4e1028f77e7b03023901c16f6329414a8a3c24c (diff)
downloadhercules-9a274a0fdb76313ff46861682d1eda67898548e6.tar.gz
hercules-9a274a0fdb76313ff46861682d1eda67898548e6.tar.bz2
hercules-9a274a0fdb76313ff46861682d1eda67898548e6.tar.xz
hercules-9a274a0fdb76313ff46861682d1eda67898548e6.zip
- Fixed the next invoked skill after AbraCadabra not having requirements even when it is a different skill than the one chosen by AbraCadabra.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9661 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 2cf237317..5289694d8 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1769,10 +1769,12 @@ int mmo_char_send006b(int fd, struct char_session_data *sd) {
WFIFOB(fd,j+101) = (p->int_ > UCHAR_MAX) ? UCHAR_MAX : p->int_;
WFIFOB(fd,j+102) = (p->dex > UCHAR_MAX) ? UCHAR_MAX : p->dex;
WFIFOB(fd,j+103) = (p->luk > UCHAR_MAX) ? UCHAR_MAX : p->luk;
- WFIFOW(fd,j+104) = p->char_num;
#if PACKETVER > 7
//Updated packet structure with rename-button included. Credits to Sara-chan
+ WFIFOW(fd,j+104) = p->char_num;
WFIFOW(fd,j+106) = 1; //TODO: Handle this rename bit: 0 to enable renaming
+#else
+ WFIFOB(fd,j+104) = p->char_num;
#endif
}
WFIFOSET(fd,WFIFOW(fd,2));