(svn r6182) -Code cleanup: replaced one (1 << 8) with SHARE_FLAG (missed in r6167)
This commit is contained in:
@@ -1151,7 +1151,7 @@ static void ShowPlayerShipsLocal(PlayerID player, StationID station, OrderID ord
|
|||||||
Window *w;
|
Window *w;
|
||||||
|
|
||||||
if (show_shared) {
|
if (show_shared) {
|
||||||
w = AllocateWindowDescFront(&_player_ships_desc, (order << 16) | (1 << 8));
|
w = AllocateWindowDescFront(&_player_ships_desc, (order << 16) | SHARE_FLAG);
|
||||||
} else {
|
} else {
|
||||||
if (player == _local_player) {
|
if (player == _local_player) {
|
||||||
w = AllocateWindowDescFront(&_player_ships_desc, (station << 16) | player);
|
w = AllocateWindowDescFront(&_player_ships_desc, (station << 16) | player);
|
||||||
|
Reference in New Issue
Block a user