roadveh_gui.c
changeset 1906 f5ae1d8ad052
parent 1901 fb05044cf5c3
child 1907 cebdef7a1c8a
--- a/roadveh_gui.c	Sun Jun 05 15:37:00 2005 +0000
+++ b/roadveh_gui.c	Sun Jun 05 20:45:04 2005 +0000
@@ -892,7 +892,7 @@
 
 			tile = _last_built_road_depot_tile;
 			do {
-				if (IsTileOwner(tile, _local_player) && IsTileDepotType(tile, TRANSPORT_ROAD)) {
+				if (IsTileDepotType(tile, TRANSPORT_ROAD) && IsTileOwner(tile, _local_player)) {
 					ShowRoadDepotWindow(tile);
 					ShowBuildRoadVehWindow(tile);
 					return;