fix missed reference to AGENT_TYPE_INTERFACE

This commit is contained in:
Stephen Birarda 2013-04-22 14:05:16 -07:00
parent 487b74f073
commit c00b5f5e8d

View file

@ -993,7 +993,7 @@ void display(void)
int totalAgents = AgentList::getInstance()->getAgents().size();
int totalAvatars = 0, totalServers = 0;
for (int i = 0; i < totalAgents; i++) {
(AgentList::getInstance()->getAgents()[i].getType() == AGENT_TYPE_INTERFACE)
(AgentList::getInstance()->getAgents()[i].getType() == AGENT_TYPE_AVATAR)
? totalAvatars++ : totalServers++;
}
sprintf(agents, "Servers: %d, Avatars: %d\n", totalServers, totalAvatars);