summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--player_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player_gui.c b/player_gui.c
index 823c6619d..6ecc845f0 100644
--- a/player_gui.c
+++ b/player_gui.c
@@ -484,8 +484,8 @@ static void PlayerCompanyWndProc(Window *w, WindowEvent *e)
SET_DPARAM16(2, GetPlayerNameString((byte)w->window_number, 3));
dis = 0;
- if (GetAmountOwnedBy(p, 0xFF) == 0) dis |= 1 << 8;
- if (GetAmountOwnedBy(p, _local_player) == 0) dis |= 1 << 9;
+ if (GetAmountOwnedBy(p, 0xFF) == 0) dis |= 1 << 9;
+ if (GetAmountOwnedBy(p, _local_player) == 0) dis |= 1 << 10;
w->disabled_state = dis;
DrawWindowWidgets(w);