changeset 4427:2fc1b6507eb1 draft

(svn r6182) -Code cleanup: replaced one (1 << 8) with SHARE_FLAG (missed in r6167)
author bjarni <bjarni@openttd.org>
date Mon, 28 Aug 2006 06:18:35 +0000
parents 245a49d54300
children 491e7fa6ab26
files ship_gui.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ship_gui.c
+++ b/ship_gui.c
@@ -1151,7 +1151,7 @@
 	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);