Commented out debug statements again
[oweals/minetest.git] / src / client.cpp
index df792d116e616049bb8c4fc389c839b2c5583c24..81dedd1446336f3b3fe0263ee49addd63b2e39fd 100644 (file)
@@ -1978,9 +1978,9 @@ void Client::addNode(v3s16 p, MapNode n)
        }
 }
        
-void Client::updateCamera(v3f pos, v3f dir)
+void Client::updateCamera(v3f pos, v3f dir, f32 fov)
 {
-       m_env.getClientMap().updateCamera(pos, dir);
+       m_env.getClientMap().updateCamera(pos, dir, fov);
 }
 
 void Client::renderPostFx()
@@ -2004,16 +2004,6 @@ LocalPlayer* Client::getLocalPlayer()
        return m_env.getLocalPlayer();
 }
 
-v3f Client::getPlayerPosition(v3f *eye_position)
-{
-       //JMutexAutoLock envlock(m_env_mutex); //bulk comment-out
-       LocalPlayer *player = m_env.getLocalPlayer();
-       assert(player != NULL);
-       if (eye_position)
-               *eye_position = player->getEyePosition();
-       return player->getPosition();
-}
-
 void Client::setPlayerControl(PlayerControl &control)
 {
        //JMutexAutoLock envlock(m_env_mutex); //bulk comment-out