mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
modified the build system of lua to a more minimal one
This commit is contained in:
parent
bfd0980748
commit
9f859d8389
6 changed files with 56 additions and 168 deletions
|
@ -1562,15 +1562,20 @@ void Client::addNode(v3s16 p, MapNode n)
|
|||
{
|
||||
JMutexAutoLock envlock(m_env_mutex);
|
||||
|
||||
TimeTaker timer1("Client::addNode()");
|
||||
|
||||
core::map<v3s16, MapBlock*> modified_blocks;
|
||||
|
||||
try
|
||||
{
|
||||
TimeTaker timer3("Client::addNode(): addNodeAndUpdate");
|
||||
m_env.getMap().addNodeAndUpdate(p, n, modified_blocks);
|
||||
}
|
||||
catch(InvalidPositionException &e)
|
||||
{}
|
||||
|
||||
TimeTaker timer2("Client::addNode(): updateMeshes");
|
||||
|
||||
for(core::map<v3s16, MapBlock * >::Iterator
|
||||
i = modified_blocks.getIterator();
|
||||
i.atEnd() == false; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue