summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c6
-rw-r--r--src/map/pc.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 07e95aed4..a2dfe6b35 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -487,9 +487,9 @@ int clif_send(const uint8* buf, int len, struct block_list* bl, enum send_target
sd->state.active && sd->guildspy == g->guild_id &&
packet_db[sd->packet_ver][RBUFW(buf,0)].len)
{ // packet must exist for the client version
- WFIFOHEAD(fd,len);
- memcpy(WFIFOP(fd,0), buf, len);
- WFIFOSET(fd,len);
+ WFIFOHEAD(i,len);
+ memcpy(WFIFOP(i,0), buf, len);
+ WFIFOSET(i,len);
}
}
}
diff --git a/src/map/pc.h b/src/map/pc.h
index dc55b53bd..2d96b1f31 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -143,6 +143,7 @@ bool pc_can_give_items(int level);
int pc_setrestartvalue(struct map_session_data *sd,int type);
int pc_makesavestatus(struct map_session_data *);
+void pc_respawn(struct map_session_data* sd, uint8 clrtype);
int pc_setnewpc(struct map_session_data*,int,int,int,unsigned int,int,int);
bool pc_authok(struct map_session_data*, int, time_t, struct mmo_charstatus *);
void pc_authfail(struct map_session_data *);