Show tracerestrict and/or progsig windows when ctrl-clicking signal.

This commit is contained in:
Jonathan G Rennison
2017-04-12 17:42:09 +01:00
parent bfb8f6f32e
commit 424e4691ce
2 changed files with 29 additions and 0 deletions

View File

@@ -3290,6 +3290,9 @@ static bool CheckClickOnLandscape(const ViewPort *vp, int x, int y)
{
Point pt = TranslateXYToTileCoord(vp, x, y);
_tile_fract_coords.x = pt.x & TILE_UNIT_MASK;
_tile_fract_coords.y = pt.y & TILE_UNIT_MASK;
if (pt.x != -1) return ClickTile(TileVirtXY(pt.x, pt.y));
return true;
}