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.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 7dd073f4b..902306ce8 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -180,8 +180,12 @@ int console = 0;
* (char鯖から送られてくる)
*------------------------------------------
*/
-void map_setusers(int n) {
- users = n;
+void map_setusers(int fd)
+{
+ users = RFIFOL(fd,2);
+ // send some anser
+ WFIFOW(fd,0) = 0x2718;
+ WFIFOSET(fd,2);
}
/*==========================================