mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05:19 +02:00
Code refactoring; split half of main.cpp to game.cpp.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user