mirror of https://github.com/OpenRCT2/OpenRCT2.git
Invalidate previous selection when ctrl-clicking something new
This commit is contained in:
parent
a26464b897
commit
d850a535aa
|
@ -1758,6 +1758,11 @@ private:
|
|||
return;
|
||||
}
|
||||
|
||||
if (auto* elem = OpenRCT2::TileInspector::GetSelectedElement(); elem != nullptr)
|
||||
{
|
||||
MapInvalidateElement(windowTileInspectorTile.ToCoordsXY(), elem);
|
||||
}
|
||||
|
||||
_tileSelected = true;
|
||||
_toolMap = mapCoords;
|
||||
windowTileInspectorTile = TileCoordsXY(mapCoords);
|
||||
|
|
Loading…
Reference in New Issue