mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Split CConnection into GameConnection and IGameConnection classes
This commit is contained in:
@@ -48,8 +48,7 @@
|
||||
#include "../lib/mapObjects/MiscObjects.h"
|
||||
#include "../lib/modding/ModIncompatibility.h"
|
||||
#include "../lib/rmg/CMapGenOptions.h"
|
||||
#include "../lib/serializer/Connection.h"
|
||||
#include "../lib/filesystem/Filesystem.h"
|
||||
#include "../lib/serializer/GameConnection.h"
|
||||
#include "../lib/UnlockGuard.h"
|
||||
|
||||
#include <boost/uuid/uuid.hpp>
|
||||
@@ -269,7 +268,7 @@ void CServerHandler::onConnectionEstablished(const NetworkConnectionPtr & netCon
|
||||
getGlobalLobby().sendProxyConnectionLogin(netConnection);
|
||||
}
|
||||
|
||||
logicConnection = std::make_shared<CConnection>(netConnection);
|
||||
logicConnection = std::make_shared<GameConnection>(netConnection);
|
||||
logicConnection->uuid = uuid;
|
||||
logicConnection->enterLobbyConnectionMode();
|
||||
sendClientConnecting();
|
||||
|
||||
Reference in New Issue
Block a user