1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00
Helper functions for enabling/disabling smart vector memeber serialziation. [doesn't really save writing but adds consistency]
This commit is contained in:
Michał W. Urbańczyk
2013-07-02 16:48:01 +00:00
parent a1f545792b
commit 1e8c58ecdf
3 changed files with 16 additions and 6 deletions

View File

@@ -205,10 +205,10 @@ void CPregameServer::connectionAccepted(const boost::system::error_code& ec)
initConnection(pc);
upcomingConnection = nullptr;
*pc << (ui8)pc->connectionID << curmap;
startListeningThread(pc);
*pc << (ui8)pc->connectionID << curmap;
announceTxt(pc->name + " joins the game");
auto pj = new PlayerJoined();
pj->playerName = pc->name;