mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Complete json map format integration
This commit is contained in:
@ -74,8 +74,7 @@ std::unique_ptr<IMapLoader> CMapService::getMapLoader(std::unique_ptr<CInputStre
|
||||
case 0x06054b50:
|
||||
case 0x04034b50:
|
||||
case 0x02014b50:
|
||||
//return std::unique_ptr<IMapLoader>(new CMapLoaderJson(stream.get()));
|
||||
throw std::runtime_error("Not implemented map format");
|
||||
return std::unique_ptr<IMapLoader>(new CMapLoaderJson(stream.get()));
|
||||
break;
|
||||
default:
|
||||
// Check which map format is used
|
||||
|
Reference in New Issue
Block a user