1
0
Fork 0

(svn r8781) -Fix

A spectator cannot build stations, so do not include a special case for him
release/0.6
tron 2007-02-17 15:34:05 +00:00
parent 992916349d
commit b6d2172678
1 changed files with 1 additions and 1 deletions

View File

@ -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) {