diff options
Diffstat (limited to 'src/serverenvironment.h')
-rw-r--r-- | src/serverenvironment.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serverenvironment.h b/src/serverenvironment.h index b2d844048..b8a35f7fd 100644 --- a/src/serverenvironment.h +++ b/src/serverenvironment.h @@ -219,7 +219,7 @@ public: // Save players void saveLoadedPlayers(); void savePlayer(RemotePlayer *player); - PlayerSAO *loadPlayer(RemotePlayer *player, bool *new_player, u16 peer_id, + PlayerSAO *loadPlayer(RemotePlayer *player, bool *new_player, session_t peer_id, bool is_singleplayer); void addPlayer(RemotePlayer *player); void removePlayer(RemotePlayer *player); @@ -341,7 +341,7 @@ public: void setStaticForActiveObjectsInBlock(v3s16 blockpos, bool static_exists, v3s16 static_block=v3s16(0,0,0)); - RemotePlayer *getPlayer(const u16 peer_id); + RemotePlayer *getPlayer(const session_t peer_id); RemotePlayer *getPlayer(const char* name); u32 getPlayerCount() const { return m_players.size(); } |