Skip to content

Commit

Permalink
Fix coverage area for dock preview
Browse files Browse the repository at this point in the history
  • Loading branch information
ldpl committed Nov 28, 2024
1 parent 33a27f3 commit ccd8b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/citymania/cm_station_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ CursorID DockPreview::GetCursor() const {

TileArea DockPreview::GetArea(bool /* remove_mode */) const {
auto tile = this->GetStartTile();
TileIndex tile_to = (this->ddir != INVALID_DIAGDIR ? TileAddByDiagDir(tile, ReverseDiagDir(this->ddir)) : tile);
TileIndex tile_to = (this->ddir != INVALID_DIAGDIR ? TileAddByDiagDir(tile, this->ddir) : tile);
return {tile, tile_to};
}

Expand Down

0 comments on commit ccd8b13

Please sign in to comment.