From 52f4a7eb1671c3eb581c5f1a176861165a095c6d Mon Sep 17 00:00:00 2001 From: darkvater Date: Fri, 3 Sep 2004 18:00:19 +0000 Subject: (svn r151) -Fix: [1021566] Buy/Sell 25% share button is broke --- player_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player_gui.c') 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); -- cgit v1.2.3-54-g00ecf