aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorLars Hofhansl <larsh@apache.org>2016-11-30 21:42:22 -0800
committerparamat <mat.gregory@virginmedia.com>2016-12-03 02:34:45 +0000
commit8a7dc838a8c1f8f2a5e9b710a8ee27d4d00715f9 (patch)
tree30a004eb8a151200297a469be82d7b9210ba6a13 /src/network
parente2cbfa82e80b1243e0214e65a2709c9c30fa63cb (diff)
downloadminetest-8a7dc838a8c1f8f2a5e9b710a8ee27d4d00715f9.tar.gz
minetest-8a7dc838a8c1f8f2a5e9b710a8ee27d4d00715f9.tar.bz2
minetest-8a7dc838a8c1f8f2a5e9b710a8ee27d4d00715f9.zip
Optimize block sent: Fix rendering issue
Diffstat (limited to 'src/network')
-rw-r--r--src/network/serverpackethandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp
index 5e50bb865..dca9aabc4 100644
--- a/src/network/serverpackethandler.cpp
+++ b/src/network/serverpackethandler.cpp
@@ -794,7 +794,7 @@ void Server::process_PlayerPos(RemotePlayer *player, PlayerSAO *playersao,
u32 keyPressed = 0;
// default behavior (in case an old client doesn't send these)
- f32 fov = (72.0*M_PI/180) * 4./3.;
+ f32 fov = 0;
u8 wanted_range = 0;
if (pkt->getRemainingBytes() >= 4)