summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/char.c')
-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