summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-06 22:16:53 -0300
committershennetsind <ind@henn.et>2013-04-06 22:16:53 -0300
commit10b53b9fbc011a9224d118414517870af3e9e20c (patch)
tree72fcf8acabb7de412d6c53d02417b85e6f687130 /src/map/clif.c
parent267eb1f2b9223dc0c0cd66bc48f5116223d974d9 (diff)
downloadhercules-10b53b9fbc011a9224d118414517870af3e9e20c.tar.gz
hercules-10b53b9fbc011a9224d118414517870af3e9e20c.tar.bz2
hercules-10b53b9fbc011a9224d118414517870af3e9e20c.tar.xz
hercules-10b53b9fbc011a9224d118414517870af3e9e20c.zip
Holy Mother ...
Follow up 267eb1f2b9223dc0c0cd66bc48f5116223d974d9 accidentally left this behind >___> (i can't believe i did that again… what the hell T_T) Also fixing another clang warning; all credits to mkbu95! Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/clif.c')
-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 15f134f40..0ee3de1f2 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -5456,7 +5456,6 @@ void clif_status_change(struct block_list *bl,int type,int flag,int tick,int val
WBUFL(buf,21) = val3;
}
#endif
- ShowDebug("Len for %d vs %d is %d\n",WBUFW(buf,0),0x983,packet_len(WBUFW(buf,0)));
clif->send(buf,packet_len(WBUFW(buf,0)),bl, (sd && sd->status.option&OPTION_INVISIBLE) ? SELF : AREA);
}
@@ -6480,7 +6479,8 @@ void clif_party_option(struct party_data *p,struct map_session_data *sd,int flag
if(!sd && flag==0){
int i;
- for(i=0;i<MAX_PARTY && !p->data[i].sd;i++);
+ for(i=0;i<MAX_PARTY && !p->data[i].sd;i++)
+ ;
if (i < MAX_PARTY)
sd = p->data[i].sd;
}