mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-25 00:37:24 +02:00
- Fixed bug when starting random map with 1 player - Refactoring - Fixed compile bug - Heroes can be selected in map selection screen(RMG map) - Main town gen
This commit is contained in:
@ -111,7 +111,7 @@ std::unique_ptr<CMap> CMapLoaderH3M::loadMap()
|
||||
std::unique_ptr<CMapHeader> CMapLoaderH3M::loadMapHeader()
|
||||
{
|
||||
// Read header
|
||||
mapHeader = std::unique_ptr<CMapHeader>(new CMapHeader);
|
||||
mapHeader = make_unique<CMapHeader>();
|
||||
readHeader();
|
||||
|
||||
return std::move(mapHeader);
|
||||
|
Reference in New Issue
Block a user