From 6f3bd3a74c8a9e983f3a5748ecaaa729ebeb1c3e Mon Sep 17 00:00:00 2001 From: ultramage Date: Mon, 21 May 2007 18:40:29 +0000 Subject: - Removed the TURBO socket mechanism - it was in fact just using a variable to cache a few arithmetic operations (premature optimization) - Since the fifohead mess is gone, fixed leftover bad code structuring git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10599 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index f59f9d148..5af776569 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -179,11 +179,9 @@ int enable_grf = 0; //To enable/disable reading maps from GRF files, bypassing m *------------------------------------------*/ void map_setusers(int fd) { - RFIFOHEAD(fd); - WFIFOHEAD(fd, 2); - map_users = RFIFOL(fd,2); // send some answer + WFIFOHEAD(fd, 2); WFIFOW(fd,0) = 0x2718; WFIFOSET(fd,2); } -- cgit v1.2.3-60-g2f50