Changeset - r150:0e3db0ea1838
[Not reviewed]
master
0 1 0
darkvater - 20 years ago 2004-09-03 18:00:19
darkvater@openttd.org
(svn r151) -Fix: [1021566] Buy/Sell 25% share button is broke
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
player_gui.c
Show inline comments
 
@@ -484,8 +484,8 @@ static void PlayerCompanyWndProc(Window 
 
		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);
0 comments (0 inline, 0 general)