mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:49:24 +02:00
remove voxelServerAddCallback
This commit is contained in:
parent
dd37d60b65
commit
6346a14cb5
1 changed files with 1 additions and 8 deletions
|
@ -900,12 +900,6 @@ void audioMixerUpdate(in_addr_t newMixerAddress, in_port_t newMixerPort) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void voxelServerAddCallback(sockaddr *voxelServerAddress) {
|
|
||||||
char voxelAsk[] = "I";
|
|
||||||
printf("Asking VS for data!\n");
|
|
||||||
agentList.getAgentSocket().send(voxelServerAddress, voxelAsk, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
|
@ -941,7 +935,6 @@ int main(int argc, char** argv)
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
agentList.audioMixerSocketUpdate = &audioMixerUpdate;
|
agentList.audioMixerSocketUpdate = &audioMixerUpdate;
|
||||||
#endif
|
#endif
|
||||||
agentList.voxelServerAddCallback = &voxelServerAddCallback;
|
|
||||||
|
|
||||||
// start the thread which checks for silent agents
|
// start the thread which checks for silent agents
|
||||||
agentList.startSilentAgentRemovalThread();
|
agentList.startSilentAgentRemovalThread();
|
||||||
|
|
Loading…
Reference in a new issue