Skip to content

Commit

Permalink
remove trailing tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
ipochto committed Dec 4, 2023
1 parent 58eb909 commit 0cbce92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/map_draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ void CViewport::DrawMapBackgroundInViewport(const fieldHighlightChecker highligh
tile = mf.playerInfo.SeenTile;
}
Map.TileGraphic->DrawFrameClip(tile, dx, dy);
#ifdef DEBUG
#ifdef DEBUG
// AStar passability overlay
if (CViewport::isPassabilityHighlighted()) {
if (mf.getFlag() & MapFieldUnpassable) {
Expand All @@ -340,7 +340,7 @@ void CViewport::DrawMapBackgroundInViewport(const fieldHighlightChecker highligh
Video.FillTransRectangleClip(ColorOrange, dx, dy, PixelTileSize.x, PixelTileSize.y, 32);
}
}
#endif
#endif
/// Highlight layer if needed (editor stuff)
if (highlightChecker && highlightChecker(mf)) {
Video.FillTransRectangleClip(ColorRed, dx, dy, PixelTileSize.x, PixelTileSize.y, 64);
Expand Down

0 comments on commit 0cbce92

Please sign in to comment.