changeset 6051:9ca36a319df6 draft

(svn r8781) -Fix A spectator cannot build stations, so do not include a special case for him
author tron <tron@openttd.org>
date Sat, 17 Feb 2007 15:34:05 +0000
parents fcac24c6f1c9
children a9049be742ac
files src/station_cmd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -338,7 +338,7 @@
 	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) {