summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-08-03 00:14:51 +0200
committerHaru <haru@dotalux.com>2013-08-03 00:14:51 +0200
commit36a5f0262265de5ca2c0f1406880b437a67e1d11 (patch)
treef1a82c683b06db67ffff124cc4aa544ffde57352 /src
parent15a0a5af55fd11f585319b646e5e96f57d722a2f (diff)
downloadhercules-36a5f0262265de5ca2c0f1406880b437a67e1d11.tar.gz
hercules-36a5f0262265de5ca2c0f1406880b437a67e1d11.tar.bz2
hercules-36a5f0262265de5ca2c0f1406880b437a67e1d11.tar.xz
hercules-36a5f0262265de5ca2c0f1406880b437a67e1d11.zip
Corrected character position de-synchronization when disguised
- Fixes bugreport:7502 http://hercules.ws/board/tracker/issue-7502-disguise-bug/ Special thanks to bgamez23 for the report Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 273f145f2..d3fe7df14 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -930,7 +930,7 @@ void clif_set_unit_idle(struct block_list* bl, struct map_session_data *tsd, enu
#else
p.GID = -bl->id;
#endif
- clif->send(&p,sizeof(p),tsd?&tsd->bl:bl,SELF);
+ clif->send(&p,sizeof(p),bl,SELF);
}
}
@@ -1127,7 +1127,7 @@ void clif_set_unit_walking(struct block_list* bl, struct map_session_data *tsd,
#else
p.GID = -bl->id;
#endif
- clif->send(&p,sizeof(p),tsd?&tsd->bl:bl,SELF);
+ clif->send(&p,sizeof(p),bl,SELF);
}
}