diff options
author | Darkvater <darkvater@openttd.org> | 2006-10-24 22:26:20 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-10-24 22:26:20 +0000 |
commit | 2b8530507d4b930ecb734ea3c0db8beb5192d6b1 (patch) | |
tree | c438df07f9e38fc848f75b85830b01a28ae506f2 /network_gui.c | |
parent | 929cfa6687abff4d7278b9e89798c2d53e074bfe (diff) | |
download | openttd-2b8530507d4b930ecb734ea3c0db8beb5192d6b1.tar.xz |
(svn r6933) -Feature: Allow spectators to speak to eachother (team)
Diffstat (limited to 'network_gui.c')
-rw-r--r-- | network_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_gui.c b/network_gui.c index a51cc78b0..63e995721 100644 --- a/network_gui.c +++ b/network_gui.c @@ -1185,7 +1185,7 @@ static Window *PopupClientList(Window *w, int client_no, int x, int y) _clientlist_proc[i++] = &ClientList_SpeakToClient; } - if (IsValidPlayer(ci->client_playas)) { + if (IsValidPlayer(ci->client_playas) || ci->client_playas == PLAYER_SPECTATOR) { GetString(_clientlist_action[i], STR_NETWORK_CLIENTLIST_SPEAK_TO_COMPANY, lastof(_clientlist_action[i])); _clientlist_proc[i++] = &ClientList_SpeakToCompany; } |