changeset 6031:5d5695b62ae4 draft

(svn r8754) -Fix Do not handle a special case for goto hangar orders to oilrigs - they do not have a hangar anyway
author tron <tron@openttd.org>
date Fri, 16 Feb 2007 07:32:22 +0000
parents 30e1078b2ef7
children 3f513357d37f
files src/order_cmd.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/order_cmd.cpp
+++ b/src/order_cmd.cpp
@@ -259,7 +259,7 @@
 				if (!IsValidStationID(new_order.dest)) return CMD_ERROR;
 				st = GetStation(new_order.dest);
 
-				if ((st->airport_type != AT_OILRIG && !CheckOwnership(st->owner)) ||
+				if (!CheckOwnership(st->owner) ||
 						!(st->facilities & FACIL_AIRPORT) ||
 						GetAirport(st->airport_type)->nof_depots == 0) {
 					return CMD_ERROR;