From b6d2172678fd0e753091f4ee4b1b7f00350df93b Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 17 Feb 2007 15:34:05 +0000 Subject: [PATCH] (svn r8781) -Fix A spectator cannot build stations, so do not include a special case for him --- src/station_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 35ff41c394..2025d9c796 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) {