======================= SV_SendClientMessages ======================= */
| 702 | ======================= |
| 703 | */ |
| 704 | void SV_SendClientMessages( void ) { |
| 705 | int i; |
| 706 | client_t *c; |
| 707 | |
| 708 | // send a message to each connected client |
| 709 | for (i=0, c = svs.clients ; i < 1 ; i++, c++) { |
| 710 | if (!c->state) { |
| 711 | continue; // not connected |
| 712 | } |
| 713 | |
| 714 | if ( c->state != CS_ACTIVE ) { |
| 715 | if ( c->state != CS_ZOMBIE ) { |
| 716 | SV_SendClientEmptyMessage( c ); |
| 717 | } |
| 718 | continue; |
| 719 | } |
| 720 | |
| 721 | SV_SendClientSnapshot( c ); |
| 722 | } |
| 723 | } |
| 724 |
no test coverage detected