]> git.lizzy.rs Git - minetest.git/blobdiff - src/player.h
VoxelArea: add_{x,y,z,p} must be static
[minetest.git] / src / player.h
index 27da73c1604818d1328b28b5f55f51f83b9cdfd1..e343f55a5432fa698b127d6ba00b9f18523c1646 100644 (file)
@@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "irrlichttypes_bloated.h"
 #include "inventory.h"
 #include "constants.h"
+#include "network/networkprotocol.h"
 #include "util/basic_macros.h"
 #include <list>
 #include <mutex>
@@ -146,8 +147,6 @@ class Player
        v2s32 local_animations[4];
        float local_animation_speed;
 
-       u16 peer_id = PEER_ID_INEXISTENT;
-
        std::string inventory_formspec;
 
        PlayerControl control;