(svn r6933) -Feature: Allow spectators to speak to eachother (team)

This commit is contained in:
Darkvater
2006-10-24 22:26:20 +00:00
parent 929cfa6687
commit 2b8530507d
4 changed files with 13 additions and 8 deletions

View File

@@ -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;
}