aboutsummaryrefslogtreecommitdiff
path: root/src/mapnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapnode.h')
-rw-r--r--src/mapnode.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index ec21a2014..82c53e7d4 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -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)