mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Player movement speed and node access distance checking
This commit is contained in:
parent
8bd178c2e5
commit
1bfc3c1eb9
3 changed files with 79 additions and 13 deletions
|
@ -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_,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue