mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
show correct number of agents nearby
This commit is contained in:
parent
4a60c5a07b
commit
0becd86e6c
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@ void display(void)
|
|||
|
||||
// Draw number of nearby people always
|
||||
char agents[100];
|
||||
sprintf(agents, "Agents nearby: %d\n", nearbyAgents);
|
||||
sprintf(agents, "Agents nearby: %ld\n", agentList.agents.size());
|
||||
drawtext(WIDTH-200,20, 0.10, 0, 1.0, 0, agents, 1, 1, 0);
|
||||
|
||||
glPopMatrix();
|
||||
|
|
Loading…
Reference in a new issue