]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mapnode.h
Raise the maximum node limit to 0x7fff
[dragonfireclient.git] / src / mapnode.h
index 785537759a4ea2ee0b12891b080fe9c759dd53de..f19885d87614f6e38e04254ce59bf06c2a94b3d2 100644 (file)
@@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "irr_v3d.h"
 #include "irr_aabb3d.h"
 #include "light.h"
+#include <string>
 #include <vector>
 
 class INodeDefManager;
@@ -42,7 +43,7 @@ typedef u16 content_t;
        there is enough room for dummy node IDs, which are created when
        a MapBlock containing unknown node names is loaded from disk.
 */
-#define MAX_REGISTERED_CONTENT 0xfffU
+#define MAX_REGISTERED_CONTENT 0x7fffU
 
 /*
        A solid walkable node with the texture unknown_node.png.