summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-07 18:09:30 +0000
committerxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-07 18:09:30 +0000
commitbbfd85c84b10e49ebed02d264f125eaad2362e47 (patch)
tree3cbf8f87a34d1b63d248397c66ff768521f6476b /src/map/clif.c
parent120de042582f308f52d90239251be4adc6aaf4ed (diff)
downloadhercules-bbfd85c84b10e49ebed02d264f125eaad2362e47.tar.gz
hercules-bbfd85c84b10e49ebed02d264f125eaad2362e47.tar.bz2
hercules-bbfd85c84b10e49ebed02d264f125eaad2362e47.tar.xz
hercules-bbfd85c84b10e49ebed02d264f125eaad2362e47.zip
Fixed some minor issue, follow up r15828.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15833 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 0444bb2ee..a321a0cf5 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1100,8 +1100,6 @@ static void clif_setdisguise(struct block_list *bl, unsigned char *buf,int len)
{
WBUFB(buf,4)= pcdb_checkid(status_get_viewdata(bl)->class_) ? 0x0 : 0x5; //PC_TYPE : NPC_MOB_TYPE
WBUFL(buf,5)=-bl->id;
- WBUFB(buf,2)= pcdb_checkid(status_get_viewdata(bl)->class_) ? 0x0 : 0x5; //PC_TYPE : NPC_MOB_TYPE
- WBUFL(buf,3)=-bl->id;
clif_send(buf, len, bl, SELF);
}
@@ -12309,7 +12307,7 @@ void clif_parse_FriendsListReply(int fd, struct map_session_data *sd)
account_id = RFIFOL(fd,2);
char_id = RFIFOL(fd,6);
- reply = RFIFOB(fd,10);
+ reply = RFIFOL(fd,10);
if( sd->bl.id == account_id )
{// adding oneself as friend