summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 35ff41c39..2025d9c79 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -338,7 +338,7 @@ static Station* GetClosestStationFromTile(TileIndex tile, uint threshold, Player
Station* st;
FOR_ALL_STATIONS(st) {
- if ((owner == PLAYER_SPECTATOR || st->owner == owner)) {
+ if (st->owner == owner) {
uint cur_dist = DistanceManhattan(tile, st->xy);
if (cur_dist < threshold) {