1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Code refactoring; split half of main.cpp to game.cpp.

This commit is contained in:
Perttu Ahola 2011-04-23 18:31:31 +03:00
parent 9f17664336
commit 1995b59320
9 changed files with 2385 additions and 2262 deletions

View file

@ -438,7 +438,7 @@ void ServerEnvironment::step(float dtime)
bool footprints = g_settings.getBool("footprints");
{
//TimeTaker timer("Server m_map->timerUpdate()", g_device);
//TimeTaker timer("Server m_map->timerUpdate()");
m_map->timerUpdate(dtime);
}
@ -1027,7 +1027,7 @@ void ClientEnvironment::step(float dtime)
bool footprints = g_settings.getBool("footprints");
{
//TimeTaker timer("Client m_map->timerUpdate()", g_device);
//TimeTaker timer("Client m_map->timerUpdate()");
m_map->timerUpdate(dtime);
}