mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +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
|
||||
|
||||
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)
|
||||
{
|
||||
#ifndef _WIN32
|
||||
|
@ -941,8 +935,7 @@ int main(int argc, char** argv)
|
|||
#ifndef _WIN32
|
||||
agentList.audioMixerSocketUpdate = &audioMixerUpdate;
|
||||
#endif
|
||||
agentList.voxelServerAddCallback = &voxelServerAddCallback;
|
||||
|
||||
|
||||
// start the thread which checks for silent agents
|
||||
agentList.startSilentAgentRemovalThread();
|
||||
|
||||
|
|
Loading…
Reference in a new issue