fix whisper bug where it did not allow you to whisper to observers.
This commit is contained in:
parent
dcb8a2a795
commit
2481904478
1 changed files with 1 additions and 1 deletions
|
@ -686,7 +686,7 @@ void server::process_whisper(const network::connection sock, const config& whisp
|
|||
for(player_map::const_iterator i = players_.begin(); i != players_.end(); ++i) {
|
||||
if(i->second.name() == whisper["receiver"]) {
|
||||
for(g = games_.begin(); g != games_.end(); ++g) {
|
||||
if(g->is_member(i->first)) {
|
||||
if(g->is_player(i->first)) {
|
||||
do_send = false;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue