瀏覽代碼

Ghetto-fixed the status timer packet for now.
For some reason, packet lengths as high as 0x43f are not reading properly, despite being fine in the packet database.
It works fine right now, but it should be changed when the packet database reading is fixed.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13622 54d463be-8e91-2dee-dedb-b68131a5f0ec

Sara 16 年之前
父節點
當前提交
be0d3c68fb
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/map/clif.c

+ 3 - 1
src/map/clif.c

@@ -4560,7 +4560,9 @@ int clif_status_change(struct block_list *bl,int type,int flag,unsigned int tick
 		WBUFL(buf,13)=0;
 		WBUFL(buf,17)=0;
 		WBUFL(buf,21)=0;
-		clif_send(buf,packet_len(0x43f),bl,AREA);
+		//for some reason, it isn't reading the packet length properly!
+		//clif_send(buf,packet_len(0x43f),bl,AREA);
+		clif_send(buf,25,bl,AREA);
 	} else
 		clif_send(buf,packet_len(0x196),bl,AREA);
 	return 0;