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

Create empty default constructor for MapNode

This commit is contained in:
Craig Robbins 2015-01-17 19:19:26 +10:00
parent 2f0a8f1c3e
commit 805c8e51e5
5 changed files with 21 additions and 12 deletions

View file

@ -139,12 +139,15 @@ struct MapNode
*/
u8 param2;
MapNode()
{ }
MapNode(const MapNode & n)
{
*this = n;
}
MapNode(content_t content = CONTENT_AIR, u8 a_param1=0, u8 a_param2=0)
MapNode(content_t content, u8 a_param1=0, u8 a_param2=0)
: param0(content),
param1(a_param1),
param2(a_param2)