mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Patch from O01eg fixing #1308 http://forum.vcmi.eu/viewtopic.php?t=721
Helper functions for enabling/disabling smart vector memeber serialziation. [doesn't really save writing but adds consistency]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user