We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d74c377 commit 261f559Copy full SHA for 261f559
src/environment.cpp
@@ -2264,6 +2264,7 @@ void ClientEnvironment::step(float dtime)
2264
Step active objects and update lighting of them
2265
*/
2266
2267
+ g_profiler->avg("CEnv: num of objects", m_active_objects.size());
2268
bool update_lighting = m_active_object_light_update_interval.step(dtime, 0.21);
2269
for(std::map<u16, ClientActiveObject*>::iterator
2270
i = m_active_objects.begin();
@@ -2293,6 +2294,7 @@ void ClientEnvironment::step(float dtime)
2293
2294
/*
2295
Step and handle simple objects
2296
2297
+ g_profiler->avg("CEnv: num of simple objects", m_simple_objects.size());
2298
for(std::list<ClientSimpleObject*>::iterator
2299
i = m_simple_objects.begin(); i != m_simple_objects.end();)
2300
{
0 commit comments