summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-21 16:18:55 +0000
committerblackhole89 <blackhole89@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-21 16:18:55 +0000
commitb232c0bc434dc9735b354fe86c40ee3a98271174 (patch)
tree71e0cb81c2e186260f88c82b5b07009da4660104
parent742cc8f2cd503ac173902a33f47b5c925b863e0f (diff)
downloadhercules-b232c0bc434dc9735b354fe86c40ee3a98271174.tar.gz
hercules-b232c0bc434dc9735b354fe86c40ee3a98271174.tar.bz2
hercules-b232c0bc434dc9735b354fe86c40ee3a98271174.tar.xz
hercules-b232c0bc434dc9735b354fe86c40ee3a98271174.zip
clif_fixpos -> clif_slide in HAMI_CASTLE code
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9039 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/skill.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index ca4543f8e..af731ee4d 100644
--- a/Changelog-Trunk.txt
+++ b/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/10/20
+ * Made HAMI_CASTLE use clif_slide rather than clif_fixpos. This should
+ fix clientside problems when castling between two positions the (client)
+ path finding can't find a walkable bath between anymore. [blackhole89]
* Fixed the Homunc not spawning next to you after receiving it's data from
the char-server. [Skotlex]
* Fixed Charge Atk being able to go through chasm/pits. [Skotlex]
diff --git a/src/map/skill.c b/src/map/skill.c
index d3bbb5617..de0f9518b 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5466,11 +5466,11 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
if (unit_movepos(src,bl->x,bl->y,0,0)) {
clif_skill_nodamage(src,src,skillid,skilllv,1); // Homunc
- clif_fixpos(src) ;
+ clif_slide(src,bl->x,bl->y) ;
if (unit_movepos(bl,x,y,0,0))
{
clif_skill_nodamage(bl,bl,skillid,skilllv,1); // Master
- clif_fixpos(bl) ;
+ clif_slide(bl,x,y) ;
}
//TODO: Shouldn't also players and the like switch targets?