瀏覽代碼

- Fixed the #if -> #ifdef mess up -.-

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9540 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 18 年之前
父節點
當前提交
4265154cf1
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/char_sql/char.c

+ 3 - 3
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