diff options
author | darkvater <darkvater@openttd.org> | 2004-09-03 18:00:19 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-09-03 18:00:19 +0000 |
commit | 52f4a7eb1671c3eb581c5f1a176861165a095c6d (patch) | |
tree | 6d9b4576525c83721569fa44a6c44e696fc434f1 | |
parent | 7b02cd3248650d0ece425b7640a9631f2d26c067 (diff) | |
download | openttd-52f4a7eb1671c3eb581c5f1a176861165a095c6d.tar.xz |
(svn r151) -Fix: [1021566] Buy/Sell 25% share button is broke
-rw-r--r-- | player_gui.c | 4 |
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); |