Particles: Do not send single particles to distant clients (#5760)
authorParamat <paramat@users.noreply.github.com>
Wed, 17 May 2017 08:37:28 +0000 (09:37 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Wed, 17 May 2017 08:37:28 +0000 (10:37 +0200)
commit0443620c5e699b02f8521ff8da7cff2e89ce4c5a
tree27da0fdda024e33d5bad19d2d25fd48c73ac6aa5
parent287605ca8151f68224c919f45e2ae425cf6849a9
Particles: Do not send single particles to distant clients (#5760)

Previously, every individual particle on a server is sent to, and rendered by
(even if not actually visible), every client regardless of distance. This
significantly reduces client FPS and creates unnecessary network traffic.
Maximum distance is set by 'max block send distance' as this determines how far
a client is able to see.
src/server.cpp