summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 52153c55d..495676082 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -159,16 +159,11 @@ int enable_spy = 0; //To enable/disable @spy commands, which consume too much cp
int enable_grf = 0; //To enable/disable reading maps from GRF files, bypassing mapcache [blackhole89]
/*==========================================
- * 全map鯖?計での接??設定
- * (char鯖から送られてくる)
+ * server player count (of all mapservers)
*------------------------------------------*/
-void map_setusers(int fd)
+void map_setusers(int users)
{
- map_users = RFIFOL(fd,2);
- // send some answer
- WFIFOHEAD(fd, 2);
- WFIFOW(fd,0) = 0x2718;
- WFIFOSET(fd,2);
+ map_users = users;
}
/*==========================================