mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Debugging
This commit is contained in:
parent
f07714ce5c
commit
3f64c29bc9
1 changed files with 1 additions and 2 deletions
|
@ -214,7 +214,7 @@ void *sendAvatarData(void *args) {
|
|||
unsigned char *startPointer;
|
||||
unsigned char *broadcastPacket = new unsigned char[MAX_PACKET_SIZE];
|
||||
|
||||
*broadcastPacket = *(unsigned char *)PACKET_HEADER_HEAD_DATA;
|
||||
broadcastPacket = (unsigned char *)PACKET_HEADER_HEAD_DATA;
|
||||
currentBufferPosition = broadcastPacket + 1;
|
||||
startPointer = currentBufferPosition;
|
||||
|
||||
|
@ -232,7 +232,6 @@ void *sendAvatarData(void *args) {
|
|||
}
|
||||
|
||||
double usecToSleep = usecTimestamp(&startTime) + (BROADCAST_INTERVAL * 10000000) - usecTimestampNow();
|
||||
delete[] broadcastPacket;
|
||||
usleep(usecToSleep);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue