aboutsummaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2016-10-30 16:12:09 +0100
committerNer'zhul <nerzhul@users.noreply.github.com>2016-10-30 16:30:55 +0100
commit595932a8602292f28333ce14e20cee4b6d8820c1 (patch)
tree74969852c535f7100a30a7989cd49f1c5693f2ae /src/network
parent9d25242c5c1411d692254cf910345d51c9a24fa3 (diff)
downloadminetest-595932a8602292f28333ce14e20cee4b6d8820c1.tar.gz
minetest-595932a8602292f28333ce14e20cee4b6d8820c1.tar.bz2
minetest-595932a8602292f28333ce14e20cee4b6d8820c1.zip
Fix overloading problems mentioned by clang
Diffstat (limited to 'src/network')
-rw-r--r--src/network/serverpackethandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp
index 5e70b4c6c..80eec140d 100644
--- a/src/network/serverpackethandler.cpp
+++ b/src/network/serverpackethandler.cpp
@@ -827,8 +827,8 @@ void Server::handleCommand_PlayerPos(NetworkPacket* pkt)
playersao->setBasePosition(position);
player->setSpeed(speed);
- playersao->setPitch(pitch, false);
- playersao->setYaw(yaw, false);
+ playersao->setPitch(pitch);
+ playersao->setYaw(yaw);
player->keyPressed = keyPressed;
player->control.up = (keyPressed & 1);
player->control.down = (keyPressed & 2);