equal
deleted
inserted
replaced
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 |