mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	| @@ -243,6 +243,12 @@ CPack * CConnection::retreivePack() | ||||
| 	return ret; | ||||
| } | ||||
|  | ||||
| void CConnection::sendPack(const CPack &pack) | ||||
| { | ||||
| 	boost::unique_lock<boost::mutex> lock(*wmx); | ||||
| 	*this << &pack; //packs has to be sent as polymorphic pointers! | ||||
| } | ||||
|  | ||||
| CSaveFile::CSaveFile( const std::string &fname ) | ||||
| 	:sfile(NULL) | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user