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:
parent
9f17664336
commit
1995b59320
9 changed files with 2385 additions and 2262 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue