mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-23 00:28:08 +02:00
- Fixed all unit test failures and a few more bugs - Simplified view generation algorithm
This commit is contained in:
@ -50,7 +50,7 @@ BOOST_AUTO_TEST_CASE(CMapEditManager_DrawTerrain)
|
||||
|
||||
// Get mapping range
|
||||
const auto & pattern = CTerrainViewPatternConfig::get().getPatternById(terGroup, id);
|
||||
const auto & mapping = pattern.mapping;
|
||||
const auto & mapping = (*pattern).mapping;
|
||||
|
||||
const auto & positionsNode = node["pos"].Vector();
|
||||
BOOST_FOREACH(const auto & posNode, positionsNode)
|
||||
|
Reference in New Issue
Block a user