diff options
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r-- | src/viewport.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp index f5848a1b9..609709d76 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -1638,6 +1638,11 @@ void MarkAllViewportsDirty(int left, int top, int right, int bottom) } } +/** + * Mark a tile given by its index dirty for repaint. + * @param tile The tile to mark dirty. + * @ingroup dirty + */ void MarkTileDirtyByTile(TileIndex tile) { Point pt = RemapCoords(TileX(tile) * TILE_SIZE, TileY(tile) * TILE_SIZE, GetTileZ(tile)); |