summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-11 17:33:58 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-11 17:33:58 +0000
commit7c74f09515f1eca23f007e106f2bb69cd4ae508e (patch)
tree09630838892a530cb166509065ae2f9ed2b67229 /src/map/unit.c
parent26789cc24022cf600543860c4a15dbe79aa0e1f8 (diff)
downloadhercules-7c74f09515f1eca23f007e106f2bb69cd4ae508e.tar.gz
hercules-7c74f09515f1eca23f007e106f2bb69cd4ae508e.tar.bz2
hercules-7c74f09515f1eca23f007e106f2bb69cd4ae508e.tar.xz
hercules-7c74f09515f1eca23f007e106f2bb69cd4ae508e.zip
- 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
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}