From 36a5f0262265de5ca2c0f1406880b437a67e1d11 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sat, 3 Aug 2013 00:14:51 +0200 Subject: 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 --- src/map/clif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } } -- cgit v1.2.3-70-g09d2