src/network/network_udp.cpp
changeset 9659 187142ff9b6c
parent 9646 8c5f5d33027d
child 9844 705fc23bedba
equal deleted inserted replaced
9658:f5c4d3c04b5d 9659:187142ff9b6c
   122 
   122 
   123 	Player *player;
   123 	Player *player;
   124 	byte current = 0;
   124 	byte current = 0;
   125 	/* Go through all the players */
   125 	/* Go through all the players */
   126 	FOR_ALL_PLAYERS(player) {
   126 	FOR_ALL_PLAYERS(player) {
   127 		/* Skip non-active players */
       
   128 		if (!player->is_active) continue;
       
   129 
       
   130 		current++;
   127 		current++;
   131 
   128 
   132 		/* Send the information */
   129 		/* Send the information */
   133 		packet.Send_uint8 (current);
   130 		packet.Send_uint8 (current);
   134 
   131