show correct number of agents nearby

This commit is contained in:
Stephen Birarda 2013-02-21 15:04:17 -08:00
parent 4a60c5a07b
commit 0becd86e6c

View file

@ -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();