diff options
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h index 27da73c16..aaafd2ae1 100644 --- a/src/player.h +++ b/src/player.h @@ -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,7 +147,7 @@ public: v2s32 local_animations[4]; float local_animation_speed; - u16 peer_id = PEER_ID_INEXISTENT; + session_t peer_id = PEER_ID_INEXISTENT; std::string inventory_formspec; |