From 792dfbb243bcbeee644bd096b7bd925a1e5c1e74 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 11 Jul 2006 20:16:55 +0000 Subject: - Fixed clif_parse not checking for func_parse before sending data to the connected clients. This in turn required various code-rewrites in: - duel related messaging functions (added clif targets DUEL/DUEL_WOS). - intif whisper to gm function - day/night timers - Rewrote the parse_console function to stop allocating/deallocating memory on every call. - Modified chrif_charselectreq to receive the player's ip among the data. - Added function clif_disp_message, which is the same as clif_disp_onlyself, except you can specify the targets (it sends a guild-chat packet) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7617 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/chrif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/chrif.h') diff --git a/src/map/chrif.h b/src/map/chrif.h index 5902a628a..4e30b4b2c 100644 --- a/src/map/chrif.h +++ b/src/map/chrif.h @@ -26,7 +26,7 @@ extern int other_mapserver_count; void chrif_authreq(struct map_session_data *); void chrif_authok(int fd); int chrif_save(struct map_session_data*, int flag); -int chrif_charselectreq(struct map_session_data *); +int chrif_charselectreq(struct map_session_data *sd, unsigned long s_ip); void check_fake_id(int fd, struct map_session_data *sd, int target_id); int chrif_changemapserver(struct map_session_data *sd,short map,int x,int y,int ip,short port); -- cgit v1.2.3-60-g2f50