mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user