summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aircraft_gui.c2
-rw-r--r--train_gui.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/aircraft_gui.c b/aircraft_gui.c
index 8d77e6ec4..33f6c2bff 100644
--- a/aircraft_gui.c
+++ b/aircraft_gui.c
@@ -1224,5 +1224,5 @@ void ShowPlayerAircraft(PlayerID player, StationID station)
void ShowVehWithSharedOrdersAircraft(Vehicle *v)
{
if (v->orders == NULL) return; // no shared list to show
-ShowPlayerAircraftLocal(v->owner, INVALID_STATION, v->orders->index, true);
+ ShowPlayerAircraftLocal(v->owner, INVALID_STATION, v->orders->index, true);
}
diff --git a/train_gui.c b/train_gui.c
index ae1759cf4..c09ed2185 100644
--- a/train_gui.c
+++ b/train_gui.c
@@ -1623,6 +1623,5 @@ void ShowPlayerTrains(PlayerID player, StationID station)
void ShowVehWithSharedOrdersTrains(Vehicle *v)
{
if (v->orders == NULL) return; // no shared list to show
-
ShowPlayerTrainsLocal(v->owner, INVALID_STATION, v->orders->index, true);
}