mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 03:04:33 +02:00
Fixed per stephen
This commit is contained in:
parent
736eb335a9
commit
7d52af6fd4
1 changed files with 2 additions and 2 deletions
|
@ -990,8 +990,8 @@ void display(void)
|
|||
int totalAgents = AgentList::getInstance()->getAgents().size();
|
||||
int totalAvatars = 0, totalServers = 0;
|
||||
for (int i = 0; i < totalAgents; i++) {
|
||||
if (AgentList::getInstance()->getAgents()[i].getType() == AGENT_TYPE_INTERFACE) totalAvatars++;
|
||||
else totalServers++;
|
||||
(AgentList::getInstance()->getAgents()[i].getType() == AGENT_TYPE_INTERFACE)
|
||||
? totalAvatars++ : totalServers++;
|
||||
}
|
||||
sprintf(agents, "Servers: %d, Avatars: %d\n", totalServers, totalAvatars);
|
||||
drawtext(WIDTH-150,20, 0.10, 0, 1.0, 0, agents, 1, 0, 0);
|
||||
|
|
Loading…
Reference in a new issue