mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Large increase in performance
This commit is contained in:
parent
03beb597c2
commit
8621e6de5d
2 changed files with 10 additions and 9 deletions
|
@ -143,14 +143,13 @@ struct MapNode
|
|||
{
|
||||
*this = n;
|
||||
}
|
||||
|
||||
MapNode(content_t content=CONTENT_AIR, u8 a_param1=0, u8 a_param2=0)
|
||||
{
|
||||
param0 = content;
|
||||
param1 = a_param1;
|
||||
param2 = a_param2;
|
||||
}
|
||||
|
||||
|
||||
MapNode(content_t content = CONTENT_AIR, u8 a_param1=0, u8 a_param2=0)
|
||||
: param0(content),
|
||||
param1(a_param1),
|
||||
param2(a_param2)
|
||||
{ }
|
||||
|
||||
// Create directly from a nodename
|
||||
// If name is unknown, sets CONTENT_IGNORE
|
||||
MapNode(INodeDefManager *ndef, const std::string &name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue