Fix computation of viewing range (in blocks) sent to server (#4882)
authorRogier-5 <rogier777@gmail.com>
Sun, 11 Dec 2016 18:49:49 +0000 (19:49 +0100)
committerest31 <est31@users.noreply.github.com>
Sun, 11 Dec 2016 18:49:49 +0000 (19:49 +0100)
commit60772071e9b63c24a939078c706b713f46bf3279
treebf4fd991f240a81a8f3fbc99e382b757ee4ec5f1
parent2886f0ccb06af04927d4cd661eaf82a253426c05
Fix computation of viewing range (in blocks) sent to server (#4882)

Fixes #4878

Also remove an artificial viewing range reduction that
(presumably) was added to compensate for miscomputed
viewing ranges, and that doesn't seem to be needed any
more (thanks to lhofhansl).
src/client.cpp
src/game.cpp
src/network/networkprotocol.h