瀏覽代碼

Fixed the WFIFO issue in char select

Fixed #1082
"Reverted" aea025e
Lemongrass3110 9 年之前
父節點
當前提交
33f397c025
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/char/char_clif.c

+ 3 - 1
src/char/char_clif.c

@@ -302,7 +302,9 @@ int chclif_parse_pincode_setnew( int fd, struct char_session_data* sd ){
 // Tell client how many pages, kRO sends 17 (Yommy)
 //----------------------------------------
 void chclif_charlist_notify( int fd, struct char_session_data* sd ){
-#if PACKETVER >= 20151001
+// This is needed on RE clients from october 2015 onwards
+// If you want to use one replace false by true here
+#if false && PACKETVER >= 20151001
 	WFIFOHEAD(fd, 10);
 	WFIFOW(fd, 0) = 0x9a0;
 	// pages to req / send them all in 1 until mmo_chars_fromsql can split them up