diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-16 15:36:16 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-16 15:36:16 +0000 |
commit | 795045dbbd8269678b689ac00cae0138459c3a7a (patch) | |
tree | aab98bf6bca456b68c87eef2d7f0590a46e06117 /src | |
parent | d042f7cfd71139195cf43534e93df18b009b1070 (diff) | |
download | hercules-795045dbbd8269678b689ac00cae0138459c3a7a.tar.gz hercules-795045dbbd8269678b689ac00cae0138459c3a7a.tar.bz2 hercules-795045dbbd8269678b689ac00cae0138459c3a7a.tar.xz hercules-795045dbbd8269678b689ac00cae0138459c3a7a.zip |
Initialization in send_fake_npc. Still needs fixing.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6115 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index c0374c828..b90a66785 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -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;
|