summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 576943c3f..13758e6fe 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5756,12 +5756,13 @@ int clif_party_info(struct party_data* p, int fd)
}
WBUFW(buf,2) = 28+c*46;
- if(fd >= 0) // send only to self
+ if(fd >= 0) { // send only to self
if (session[fd] && session[fd]->session_data)
clif_send(buf, WBUFW(buf,2), &((struct map_session_data *)session[fd]->session_data)->bl, SELF);
- else // send to whole party
+ } else { // send to whole party
if(sd)
clif_send(buf, WBUFW(buf,2), &sd->bl, PARTY);
+ }
return 0;
}