Initialization in send_fake_npc. Still needs fixing.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6115 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lance 2006-04-16 15:36:16 +00:00
parent 47adb68d91
commit 44c387b2a7

View File

@ -1711,6 +1711,7 @@ int clif_scriptclose(struct map_session_data *sd, int npcid) {
void send_fake_npc(struct map_session_data *sd, int npcid){
int fd = sd->fd;
memset(WFIFOP(fd,0), 0, packet_len_table[0x78]);
WFIFOW(fd,0)=0x78;
WFIFOL(fd,2)=npcid;
WFIFOW(fd,12)=OPTION_HIDE;