diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-11 09:37:23 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-11 09:37:23 +0000 |
commit | 0d831968949b1119db48530a86c2d1651c6cbfc6 (patch) | |
tree | 925e02481149fa8ac227017af74818176b166a41 /src/core/netserver.cc | |
parent | 02fcd22d8cde355aa898a8c6bb4773d9434b8e9a (diff) |
zonechange events, menu previous command
Diffstat (limited to 'src/core/netserver.cc')
-rw-r--r-- | src/core/netserver.cc | 5 |
1 files changed, 0 insertions, 5 deletions
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()); } } |