From 4590182c2c88f0b9e5eb70b45e882d9381fe33b6 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 13 Dec 2006 13:45:52 +0000 Subject: - Modified flush_fifo so you can decide whether to block the current thread or not until the data is sent. The server-tick reply no longer blocks the current thread. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9486 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/clif.c b/src/map/clif.c index 66711d1b2..751c3b788 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8502,7 +8502,7 @@ void clif_parse_TickSend(int fd, struct map_session_data *sd) { WFIFOW(fd,0)=0x7f; WFIFOL(fd,2)=gettick(); WFIFOSET(fd,packet_len_table[0x7f]); - flush_fifo(fd); // send immediatly so the client gets accurate "pings" + flush_fifo(fd,0); // send immediatly so the client gets accurate "pings" return; } -- cgit v1.2.3-70-g09d2