mirror of
https://github.com/overte-org/overte.git
synced 2025-04-17 08:56:36 +02:00
Merged.
This commit is contained in:
parent
3745cd7196
commit
86ae9dbe7c
1 changed files with 0 additions and 11 deletions
|
@ -51,19 +51,8 @@ void attachAvatarDataToAgent(Agent* newAgent) {
|
|||
}
|
||||
}
|
||||
|
||||
bool wantLocalDomain = false;
|
||||
|
||||
int main(int argc, const char* argv[]) {
|
||||
|
||||
// Handle Local Domain testing with the --local command line
|
||||
const char* local = "--local";
|
||||
::wantLocalDomain = cmdOptionExists(argc, argv,local);
|
||||
if (::wantLocalDomain) {
|
||||
printf("Local Domain MODE!\n");
|
||||
int ip = getLocalAddress();
|
||||
sprintf(DOMAIN_IP,"%d.%d.%d.%d", (ip & 0xFF), ((ip >> 8) & 0xFF),((ip >> 16) & 0xFF), ((ip >> 24) & 0xFF));
|
||||
}
|
||||
|
||||
AgentList* agentList = AgentList::createInstance(AGENT_TYPE_AVATAR_MIXER, AVATAR_LISTEN_PORT);
|
||||
setvbuf(stdout, NULL, _IOLBF, 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue