author | truelight |
Wed, 15 Dec 2004 20:24:26 +0000 | |
changeset 669 | 2d332f6e59f0 |
parent 668 | 1fe298df8526 |
child 670 | d164965bb35a |
player_gui.c | file | annotate | diff | comparison | revisions |
--- a/player_gui.c Wed Dec 15 20:10:34 2004 +0000 +++ b/player_gui.c Wed Dec 15 20:24:26 2004 +0000 @@ -494,6 +494,7 @@ // and the player is not an AI if (GetAmountOwnedBy(p, OWNER_SPECTATOR) == 1 && !p->is_ai) dis |= 1 << 9; if (GetAmountOwnedBy(p, _local_player) == 0) dis |= 1 << 10; + if (_local_player == OWNER_SPECTATOR) dis |= (1 << 9) | (1 << 10); w->disabled_state = dis; DrawWindowWidgets(w);