mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Clients report their PIDs so the memory usage can be monitored.
This commit is contained in:
@ -448,6 +448,7 @@ void CClient::newDuel(CConnection *con, StartInfo *si)
|
||||
|
||||
ui8 color;
|
||||
std::string battleAIName;
|
||||
*serv << getMyPid();
|
||||
*serv >> *si >> battleAIName >> color;
|
||||
assert(si->mode == StartInfo::DUEL);
|
||||
assert(color > 1); //we are NOT participants
|
||||
|
Reference in New Issue
Block a user