diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-12 01:04:28 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-12 01:04:28 +0000 |
commit | b60b70a43e012bc261f745a7ffd05c5cb43c2f27 (patch) | |
tree | def638aa6270a136c05c552ba98ebc04883221a4 /src/map | |
parent | d2a341dc093542a68a2770d6302ce48c99d82169 (diff) | |
download | hercules-b60b70a43e012bc261f745a7ffd05c5cb43c2f27.tar.gz hercules-b60b70a43e012bc261f745a7ffd05c5cb43c2f27.tar.bz2 hercules-b60b70a43e012bc261f745a7ffd05c5cb43c2f27.tar.xz hercules-b60b70a43e012bc261f745a7ffd05c5cb43c2f27.zip |
Disambiguation
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9851 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 5 |
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; } |