diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-18 22:31:08 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-18 22:31:08 +0000 |
commit | e92f5bc08714b2832c6393e3d9f652d75e69a568 (patch) | |
tree | 10a56329505b80d889f3fcd8ef91f0d5d3770d74 /src/map/clif.c | |
parent | 8188efbcea52913a95e7e5c081a42a6eea07d479 (diff) | |
download | hercules-e92f5bc08714b2832c6393e3d9f652d75e69a568.tar.gz hercules-e92f5bc08714b2832c6393e3d9f652d75e69a568.tar.bz2 hercules-e92f5bc08714b2832c6393e3d9f652d75e69a568.tar.xz hercules-e92f5bc08714b2832c6393e3d9f652d75e69a568.zip |
inverted logic (followup to r12394)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12395 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index ce37e3816..b8b3c8b13 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -5313,10 +5313,10 @@ int clif_party_member_info(struct party_data *p, struct map_session_data *sd) WBUFW(buf, 0) = 0x1e9; WBUFL(buf, 2) = sd->status.account_id; - WBUFL(buf, 6) = (p->party.member[i].leader)?1:0; + WBUFL(buf, 6) = (p->party.member[i].leader)?0:1; WBUFW(buf,10) = sd->bl.x; WBUFW(buf,12) = sd->bl.y; - WBUFB(buf,14) = (p->party.member[i].online)?1:0; + WBUFB(buf,14) = (p->party.member[i].online)?0:1; memcpy(WBUFP(buf,15), p->party.name, NAME_LENGTH); memcpy(WBUFP(buf,39), sd->status.name, NAME_LENGTH); mapindex_getmapname_ext(mapindex_id2name(sd->mapindex), (char*)WBUFP(buf,63)); |