1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-31 00:07:39 +02:00

Merge pull request #6252 from Opuszek/mapeditor_fix_rivers

Fixes a bug that changes rives directions when terrain type is change…
This commit is contained in:
Ivan Savenko
2025-10-28 12:07:31 +02:00
committed by GitHub

View File

@@ -311,7 +311,7 @@ void CDrawTerrainOperation::updateTerrainViews()
if(!pattern.diffImages)
{
tile.terView = gen->nextInt(mapping.first, mapping.second);
tile.extTileFlags = valRslt.flip;
tile.extTileFlags = (tile.extTileFlags & 0b11111100) | valRslt.flip;
}
else
{