mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 09:33:29 +02:00
fix incorrect agent type replacement
This commit is contained in:
parent
d462bff512
commit
2031d26ffe
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ void AgentList::pingAgents() {
|
|||
*payload = PACKET_HEADER_PING;
|
||||
|
||||
for(std::vector<Agent>::iterator agent = agents.begin(); agent != agents.end(); agent++) {
|
||||
if (agent->getType() == PACKET_HEADER_INTERFACE) {
|
||||
if (agent->getType() == 'I') {
|
||||
if (agent->getActiveSocket() != NULL) {
|
||||
// we know which socket is good for this agent, send there
|
||||
agentSocket.send(agent->getActiveSocket(), payload, 1);
|
||||
|
|
Loading…
Reference in a new issue