summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-08-28 06:18:35 +0000
committerbjarni <bjarni@openttd.org>2006-08-28 06:18:35 +0000
commit3c844b6391393762f6eb70eb91e17fcec1c1df1c (patch)
treec01d31f5ae1fe4cebede4affc34c0deac70b387f
parent9e67d54c1c39efa54517b8a1f71d06ba0e0206d2 (diff)
downloadopenttd-3c844b6391393762f6eb70eb91e17fcec1c1df1c.tar.xz
(svn r6182) -Code cleanup: replaced one (1 << 8) with SHARE_FLAG (missed in r6167)
-rw-r--r--ship_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ship_gui.c b/ship_gui.c
index 312809abd..8826f1105 100644
--- a/ship_gui.c
+++ b/ship_gui.c
@@ -1151,7 +1151,7 @@ static void ShowPlayerShipsLocal(PlayerID player, StationID station, OrderID ord
Window *w;
if (show_shared) {
- w = AllocateWindowDescFront(&_player_ships_desc, (order << 16) | (1 << 8));
+ w = AllocateWindowDescFront(&_player_ships_desc, (order << 16) | SHARE_FLAG);
} else {
if (player == _local_player) {
w = AllocateWindowDescFront(&_player_ships_desc, (station << 16) | player);