From 7c74f09515f1eca23f007e106f2bb69cd4ae508e Mon Sep 17 00:00:00 2001 From: skotlex Date: Sun, 11 Mar 2007 17:33:58 +0000 Subject: - Removed function clif_movepc as it's no longer invoked anywhere. - Removed clif_move as it's not needed anymore. - Renamed clif_moveunit to clif_move and uncommented it. This is the new "unit movement" packet to use (the code should be robust enough to always invoke a clif_insight/outsight for characters going in/out of sight). - Because of this, many functions that handled the return of conv_str need to be changed, I haven't finished doing the conversion process because I must go already, if someone else can continue, please do so (I will resume work on this in ~5 hours git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9987 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 492714bc2..e784c68ce 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -85,7 +85,7 @@ int unit_walktoxy_sub(struct block_list *bl) ((TBL_PC *)bl)->head_dir = 0; clif_walkok((TBL_PC*)bl); } - clif_move(bl); + clif_move(ud); if(ud->walkpath.path_pos>=ud->walkpath.path_len) i = -1; @@ -204,7 +204,7 @@ static int unit_walktoxy_timer(int tid,unsigned int tick,int id,int data) return 0; } //Resend walk packet for proper Self Destruction display. - clif_move(bl); + clif_move(ud); } } -- cgit v1.2.3-60-g2f50