From 1bfc3c1eb934bcaa2226042e9b494041b7a722cd Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 26 Nov 2011 14:03:56 +0200 Subject: Player movement speed and node access distance checking --- src/player.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/player.cpp') diff --git a/src/player.cpp b/src/player.cpp index 4dc7ff219..ce2e26945 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -181,7 +181,9 @@ void Player::deSerialize(std::istream &is) ServerRemotePlayer::ServerRemotePlayer(ServerEnvironment *env): Player(env->getGameDef()), - ServerActiveObject(env, v3f(0,0,0)) + ServerActiveObject(env, v3f(0,0,0)), + m_last_good_position(0,0,0), + m_last_good_position_age(0) { } ServerRemotePlayer::ServerRemotePlayer(ServerEnvironment *env, v3f pos_, u16 peer_id_, -- cgit v1.2.3