summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-20 18:24:49 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-20 18:24:49 +0000
commit96ba60c480e0d8403bec2178f65a06efbcc5982c (patch)
treee8c9b693c27535824e5e1394052c9c3790018c2f /src
parent223309b9b30b5221163ef97984ae5e84b712d6d5 (diff)
downloadhercules-96ba60c480e0d8403bec2178f65a06efbcc5982c.tar.gz
hercules-96ba60c480e0d8403bec2178f65a06efbcc5982c.tar.bz2
hercules-96ba60c480e0d8403bec2178f65a06efbcc5982c.tar.xz
hercules-96ba60c480e0d8403bec2178f65a06efbcc5982c.zip
- Fixed the #if -> #ifdef mess up -.-
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9540 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/char_sql/char.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index f921ff48a..95c0a4b6c 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1680,7 +1680,7 @@ int mmo_char_send006b(int fd, struct char_session_data *sd) {
int i, j, found_num = 0;
struct mmo_charstatus *p = NULL;
const int offset = 24;
-#ifdef PACKETVER > 7
+#if PACKETVER > 7
WFIFOHEAD(fd, offset +9*108);
#else
WFIFOHEAD(fd, offset +9*106);
@@ -1711,7 +1711,7 @@ int mmo_char_send006b(int fd, struct char_session_data *sd) {
WFIFOW(fd, 0) = 0x6b;
-#ifdef PACKETVER > 7
+#if PACKETVER > 7
memset(WFIFOP(fd, 0), 0, offset + found_num * 108);
WFIFOW(fd, 2) = offset + found_num * 108;
#endif
@@ -1727,7 +1727,7 @@ int mmo_char_send006b(int fd, struct char_session_data *sd) {
p = &char_dat;
-#ifdef PACKETVER > 7
+#if PACKETVER > 7
j = offset + (i * 108);
#else
j = offset + (i * 106); // increase speed of code