Linefeeds.
This commit is contained in:
1 parent
ef84c7b81a
commit
f2b1397cca
1 file changed
+2
-2
@@ -609,7 +609,7 @@ void
|
|||||||
ServerLobbyThread::EstablishSession(SessionWrapper session)
|
ServerLobbyThread::EstablishSession(SessionWrapper session)
|
||||||
{
|
{
|
||||||
if (!session.playerData.get())
|
if (!session.playerData.get())
|
||||||
throw ServerException(__FILE__, __LINE__, ERR_NET_INVALID_SESSION, 0);
|
throw ServerException(__FILE__, __LINE__, ERR_NET_INVALID_SESSION, 0);
|
||||||
// Send ACK to client.
|
// Send ACK to client.
|
||||||
boost::shared_ptr<NetPacket> initAck(new NetPacketInitAck);
|
boost::shared_ptr<NetPacket> initAck(new NetPacketInitAck);
|
||||||
NetPacketInitAck::Data initAckData;
|
NetPacketInitAck::Data initAckData;
|
||||||
@@ -642,7 +642,7 @@ void
|
|||||||
ServerLobbyThread::RequestPlayerAvatar(SessionWrapper session)
|
ServerLobbyThread::RequestPlayerAvatar(SessionWrapper session)
|
||||||
{
|
{
|
||||||
if (!session.playerData.get())
|
if (!session.playerData.get())
|
||||||
throw ServerException(__FILE__, __LINE__, ERR_NET_INVALID_SESSION, 0);
|
throw ServerException(__FILE__, __LINE__, ERR_NET_INVALID_SESSION, 0);
|
||||||
// Ask the client to send its avatar.
|
// Ask the client to send its avatar.
|
||||||
boost::shared_ptr<NetPacket> retrieveAvatar(new NetPacketRetrieveAvatar);
|
boost::shared_ptr<NetPacket> retrieveAvatar(new NetPacketRetrieveAvatar);
|
||||||
NetPacketRetrieveAvatar::Data retrieveAvatarData;
|
NetPacketRetrieveAvatar::Data retrieveAvatarData;
|
||||||
|
|||||||
Reference in new issue
Block a user