mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Add session_t typedef + remove unused functions (#6470)
* Add session_t typedef + remove unused functions u16 peer_id is used everywhere, to be more consistent and permit some evolutions on this type in the future (i'm working on a PoC), uniformize u16 peer_id to SessionId peer_id
This commit is contained in:
@@ -356,7 +356,7 @@ void Server::handleCommand_RequestMedia(NetworkPacket* pkt)
|
||||
|
||||
void Server::handleCommand_ClientReady(NetworkPacket* pkt)
|
||||
{
|
||||
u16 peer_id = pkt->getPeerId();
|
||||
session_t peer_id = pkt->getPeerId();
|
||||
|
||||
PlayerSAO* playersao = StageTwoClientInit(peer_id);
|
||||
|
||||
|
Reference in New Issue
Block a user