diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-31 20:19:56 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-31 20:19:56 +0000 |
commit | 250a8f539f87eb04e2321b6a0a6cd5850f38ac65 (patch) | |
tree | c8daac1a7392ce7a41dbb3e196c69b6ff38081d9 /src/map/clif.c | |
parent | 5af84391c50d5625c870d567e298b0628ba2a4ef (diff) | |
download | hercules-250a8f539f87eb04e2321b6a0a6cd5850f38ac65.tar.gz hercules-250a8f539f87eb04e2321b6a0a6cd5850f38ac65.tar.bz2 hercules-250a8f539f87eb04e2321b6a0a6cd5850f38ac65.tar.xz hercules-250a8f539f87eb04e2321b6a0a6cd5850f38ac65.zip |
Merged mpeg's fix on ninja skills
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8012 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 7d6e9b1fe..982d60da7 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8753,7 +8753,7 @@ void clif_parse_MapMove(int fd, struct map_session_data *sd) { *
*------------------------------------------
*/
-void clif_changed_dir(struct block_list *bl) {
+void clif_changed_dir(struct block_list *bl, int type) {
unsigned char buf[64];
WBUFW(buf,0) = 0x9c;
@@ -8761,7 +8761,7 @@ void clif_changed_dir(struct block_list *bl) { WBUFW(buf,6) = bl->type==BL_PC?((TBL_PC*)bl)->head_dir:0;
WBUFB(buf,8) = unit_getdir(bl);
- clif_send(buf, packet_len_table[0x9c], bl, AREA_WOS);
+ clif_send(buf, packet_len_table[0x9c], bl, type);
if (disguised(bl)) {
WBUFL(buf,2) = -bl->id;
WBUFW(buf,6) = 0;
@@ -8783,7 +8783,7 @@ void clif_parse_ChangeDir(int fd, struct map_session_data *sd) { dir = RFIFOB(fd,packet_db[sd->packet_ver][RFIFOW(fd,0)].pos[1]);
pc_setdir(sd, dir, headdir);
- clif_changed_dir(&sd->bl);
+ clif_changed_dir(&sd->bl, AREA_WOS);
return;
}
|