Explorar el Código

- Changed clif_blown to use fixpos again as per aegis packets.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9402 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex hace 18 años
padre
commit
722b1689e3
Se han modificado 2 ficheros con 6 adiciones y 2 borrados
  1. 3 0
      Changelog-Trunk.txt
  2. 3 2
      src/map/clif.c

+ 3 - 0
Changelog-Trunk.txt

@@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2006/12/04
+	* Knockback will again use the fixpos packet instead of the slide packet
+	  (slide was introduced with high jump) since Aegis captures say that packet
+	  is still used for knockbacks. [Skotlex]
 	* Repairing items via scripts no longer displays "item has been repaired"
 	  [Skotlex]
 	* Status Recovery again makes mobs unlock their current target. [Skotlex]

+ 3 - 2
src/map/clif.c

@@ -1864,8 +1864,9 @@ int clif_changemapserver(struct map_session_data *sd, char *mapname, int x, int
 
 int clif_blown(struct block_list *bl) {
 //Previous Aegis versions simply used clif_fixpos, but it seems clif_slide works better on current clients.
-//	return clif_fixpos(bl);
-	return clif_slide(bl, bl->x, bl->y);
+// However, because of client desyncs, and because current Aegis captures show that they still use fixpos, keep using that for now.
+	return clif_fixpos(bl);
+//	return clif_slide(bl, bl->x, bl->y);
 	
 }
 /*==========================================