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
commit2930781beaf90dfbbf3338c983062a456d8965bd (patch)
treec01d31f5ae1fe4cebede4affc34c0deac70b387f
parent19cd783979b8183531270b28ec09f0e0f6da4579 (diff)
downloadopenttd-2930781beaf90dfbbf3338c983062a456d8965bd.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);