mirror of
				https://github.com/edubart/otclient.git
				synced 2025-11-03 20:26:23 +01:00 
			
		
		
		
	simpli map load/save
This commit is contained in:
		@@ -123,7 +123,7 @@ bool ResourceManager::saveFile(const std::string& fileName, const uchar* data, u
 | 
			
		||||
    return true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool ResourceManager::saveFile(const std::string& fileName, std::istream& in)
 | 
			
		||||
bool ResourceManager::saveFile(const std::string& fileName, std::iostream& in)
 | 
			
		||||
{
 | 
			
		||||
    std::streampos oldPos = in.tellg();
 | 
			
		||||
    in.seekg(0, std::ios::end);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user