Changeset - r4427:e3ebbdd96366
[Not reviewed]
master
0 1 0
bjarni - 18 years ago 2006-08-28 06:18:35
bjarni@openttd.org
(svn r6182) -Code cleanup: replaced one (1 << 8) with SHARE_FLAG (missed in r6167)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
ship_gui.c
Show inline comments
 
@@ -1148,13 +1148,13 @@ static const WindowDesc _other_player_sh
 

	
 
static void ShowPlayerShipsLocal(PlayerID player, StationID station, OrderID order, bool show_shared)
 
{
 
	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);
 
		} else  {
 
			w = AllocateWindowDescFront(&_other_player_ships_desc, (station << 16) | player);
 
		}
0 comments (0 inline, 0 general)