player_gui.c
changeset 1811 9012558a2b02
parent 1793 8ac8a8c9ec0f
child 1820 9b6458526480
--- a/player_gui.c	Sat May 14 22:42:33 2005 +0000
+++ b/player_gui.c	Sat May 14 22:51:15 2005 +0000
@@ -509,6 +509,8 @@
 
 			if (!_networking) SETBIT(w->hidden_state, 11); // hide company-password widget
 		} else {
+			if (p->location_of_house == 0) SETBIT(dis, 7);
+
 			if (_patches.allow_shares) { /* shares are allowed */
 				/* If all shares are owned by someone (none by nobody), disable buy button */
 				if (GetAmountOwnedBy(p, OWNER_SPECTATOR) == 0) SETBIT(dis, 9);