From 0d831968949b1119db48530a86c2d1651c6cbfc6 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 11 Oct 2008 09:37:23 +0000 Subject: zonechange events, menu previous command --- src/core/netserver.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/core/netserver.cc') diff --git a/src/core/netserver.cc b/src/core/netserver.cc index e1bd41a..95b047a 100644 --- a/src/core/netserver.cc +++ b/src/core/netserver.cc @@ -364,10 +364,6 @@ void NetServer::client_frame(NetClient *client, float timestamp, float previoust void NetServer::frame(float timestamp, float previoustimestamp) { /* FIXME - This code has to be rewritten to send per-player updates. - Players should only receive updates from their current zone - Fix zonechange events - Only entities within visual range should send updates (1024 game units?) Fix reliable messages It would be nice if players with the highest ping got their updates first @@ -390,7 +386,6 @@ void NetServer::frame(float timestamp, float previoustimestamp) client->player()->player_dirty = false; client->player()->player_zonechange = false; } - client->transmit(fd()); } } -- cgit v1.2.3