(svn r151) -Fix: [1021566] Buy/Sell 25% share button is broke
authordarkvater
Fri, 03 Sep 2004 18:00:19 +0000
changeset 150 636c31df729f
parent 149 5f7d4b21df01
child 151 e90bf7f77216
(svn r151) -Fix: [1021566] Buy/Sell 25% share button is broke
player_gui.c
--- a/player_gui.c	Fri Sep 03 17:57:27 2004 +0000
+++ b/player_gui.c	Fri Sep 03 18:00:19 2004 +0000
@@ -484,8 +484,8 @@
 		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);