player: only send acks if not in mass game mode

This commit is contained in:
schneider 2011-12-22 22:25:41 +01:00
parent de4f010c2a
commit 68148e38c3
1 changed files with 2 additions and 1 deletions

View File

@ -319,6 +319,7 @@ void processPacket(struct packet *p)
ack.id= id; ack.id= id;
ack.ctr= p->ctr; ack.ctr= p->ctr;
ack.c.ack.flags = 0; ack.c.ack.flags = 0;
if( p->id )
nrf_snd_pkt_crc(sizeof(ack),(uint8_t*)&ack); nrf_snd_pkt_crc(sizeof(ack),(uint8_t*)&ack);
processText(&(p->c.text)); processText(&(p->c.text));
} }