aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-13 12:54:33 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:41 +0200
commit3b77a63d5dbfff0ae5ca8eb04a001904f7f568b2 (patch)
treec89430a5746c4eaf1177afd0f948595de87437e7 /src/game.cpp
parent64fa59e24f7b3e046b7dfeba930e44c86e32668e (diff)
downloadminetest-3b77a63d5dbfff0ae5ca8eb04a001904f7f568b2.tar.gz
minetest-3b77a63d5dbfff0ae5ca8eb04a001904f7f568b2.tar.bz2
minetest-3b77a63d5dbfff0ae5ca8eb04a001904f7f568b2.zip
Allocate MapBlock::m_node_metadata on heap to allow less header bloat
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 638ad9155..bd84593b8 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -45,6 +45,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "filesys.h"
// Needed for determining pointing to nodes
#include "mapnode_contentfeatures.h"
+#include "nodemetadata.h"
/*
Setting this to 1 enables a special camera mode that forces