summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/skill.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 98fbaa46b..56a811e67 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,8 @@ 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/05/24
+ * The clif_skill_poseffect packet will not be invoked in Snap unless the
+ skill was successful. May fix the client-position lag. [Skotlex]
* Merged item_db.sql from stable (the one from stable was more recent than
the one of trunk...) [Skotlex]
* Corrected SL KA* spells not working on other Soul Linkers. [Skotlex]
diff --git a/src/map/skill.c b/src/map/skill.c
index 31dbd82dc..5a3ec49c0 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5856,8 +5856,7 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil
sc = NULL; //Unneeded.
if(skillid != WZ_METEOR &&
- skillid != AM_CANNIBALIZE &&
- skillid != AM_SPHEREMINE &&
+ skillid != MO_BODYRELOCATION &&
skillid != CR_CULTIVATION)
clif_skill_poseffect(src,skillid,skilllv,x,y,tick);
@@ -5985,7 +5984,8 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil
case MO_BODYRELOCATION:
if (unit_movepos(src, x, y, 1, 1)) {
- clif_slide(src, src->x, src->y);
+ clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick);
+// clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...
if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);
}
break;
@@ -6010,7 +6010,6 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil
}
// To-do: ?「還されるモンスタ?[には?「還したプレ?[ヤ?[の名前が付きます
// (attach name of player?)
- clif_skill_poseffect(src,skillid,skilllv,x,y,tick);
}
break;
case AM_SPHEREMINE: // スフィア?マイン
@@ -6027,7 +6026,6 @@ int skill_castend_pos2( struct block_list *src, int x,int y,int skillid,int skil
md->special_state.ai = 2;
md->deletetimer = add_timer (gettick() + skill_get_time(skillid,skilllv), mob_timer_delete, id, 0);
}
- clif_skill_poseffect(src,skillid,skilllv,x,y,tick);
}
break;