From 603f625fdae237bc8a948329818743b015fc60b2 Mon Sep 17 00:00:00 2001
From: glx <glx@openttd.org>
Date: Sat, 6 Jul 2019 14:54:33 +0200
Subject: [PATCH] Fix f53817987: unsafe mix of type 'TileIndex' and type 'bool'

---
 src/order_cmd.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp
index ed2f444cc3..42311a5cd2 100644
--- a/src/order_cmd.cpp
+++ b/src/order_cmd.cpp
@@ -2198,7 +2198,7 @@ bool ProcessOrders(Vehicle *v)
 
 	/* If it is unchanged, keep it. */
 	if (order->Equals(v->current_order) && (v->type == VEH_AIRCRAFT || v->dest_tile != 0) &&
-			(v->type != VEH_SHIP || !order->IsType(OT_GOTO_STATION) || Station::Get(order->GetDestination())->ship_station.tile != INVALID_TILE > 0)) {
+			(v->type != VEH_SHIP || !order->IsType(OT_GOTO_STATION) || Station::Get(order->GetDestination())->ship_station.tile != INVALID_TILE)) {
 		return false;
 	}