mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-06 12:29:42 +01:00
(svn r6182) -Code cleanup: replaced one (1 << 8) with SHARE_FLAG (missed in r6167)
This commit is contained in:
parent
9e67d54c1c
commit
3c844b6391
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user