summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);
}
}