Forráskód Böngészése

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 éve
szülő
commit
be0d3c68fb
1 módosított fájl, 3 hozzáadás és 1 törlés
  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;