Mesh now back working.

This commit is contained in:
Stefan `Sec` Zehl 2011-08-05 11:54:20 +02:00
parent 49a78b1907
commit 26d0ff0b19
2 changed files with 8 additions and 1 deletions

View File

@ -197,7 +197,10 @@ uint8_t mesh_recvqloop_work(void){
MO_TIME_set(reply->pkt,score);
strcpy((char*)MO_BODY(reply->pkt),GLOBAL(nickname));
if(GLOBAL(privacy)==0){
uint32touint8p(GetUUID32(),meshbuffer[0].pkt+26);
meshbuffer[0].pkt[25]=0;
};
return 1;
};

View File

@ -167,6 +167,10 @@ static bool highscore_set(uint32_t score, char nick[]) {
MO_TIME_set(mpkt->pkt,score);
strcpy((char*)MO_BODY(mpkt->pkt),nick);
if(GLOBAL(privacy)==0){
uint32touint8p(GetUUID32(),mpkt->pkt+26);
mpkt->pkt[25]=0;
};
return true;
}