Fixed 2 problems in r12223 - incorrect variable used (bugreport:1031) and a missing global function declaration
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12229 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
edd19c4e08
commit
4c32b53443
@ -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 &&
|
sd->state.active && sd->guildspy == g->guild_id &&
|
||||||
packet_db[sd->packet_ver][RBUFW(buf,0)].len)
|
packet_db[sd->packet_ver][RBUFW(buf,0)].len)
|
||||||
{ // packet must exist for the client version
|
{ // packet must exist for the client version
|
||||||
WFIFOHEAD(fd,len);
|
WFIFOHEAD(i,len);
|
||||||
memcpy(WFIFOP(fd,0), buf, len);
|
memcpy(WFIFOP(i,0), buf, len);
|
||||||
WFIFOSET(fd,len);
|
WFIFOSET(i,len);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -143,6 +143,7 @@ bool pc_can_give_items(int level);
|
|||||||
|
|
||||||
int pc_setrestartvalue(struct map_session_data *sd,int type);
|
int pc_setrestartvalue(struct map_session_data *sd,int type);
|
||||||
int pc_makesavestatus(struct map_session_data *);
|
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);
|
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 *);
|
bool pc_authok(struct map_session_data*, int, time_t, struct mmo_charstatus *);
|
||||||
void pc_authfail(struct map_session_data *);
|
void pc_authfail(struct map_session_data *);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user