diff options
author | est31 <MTest31@outlook.com> | 2015-09-18 13:45:42 +0200 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-09-19 20:57:29 +0200 |
commit | 452df1c723722183ebf3a332f7bcc355be5b2998 (patch) | |
tree | cfba8eaa11c7bdc1d6c245bfa85c973597bccc3c /src/mapgen_v6.cpp | |
parent | 9c635f28ac2b103bf7196e47947bf64673c13393 (diff) | |
download | minetest-452df1c723722183ebf3a332f7bcc355be5b2998.tar.gz minetest-452df1c723722183ebf3a332f7bcc355be5b2998.tar.bz2 minetest-452df1c723722183ebf3a332f7bcc355be5b2998.zip |
Various style cleanups + unused code removal
-> Don't pass pointer to whole IGameDef to NodeMetadata constructors
and deserializers, but only to IItemDefManager, which is needed
-> Remove the unused content_mapnode_get_new_name() method
-> Fix style for MapBlock::deSerialize and MapBlock::deSerialize_pre22,
improving accuracy of error messages a bit
-> Fix style at other serialisation methods too
-> Improve accuracy of some comments
Diffstat (limited to 'src/mapgen_v6.cpp')
-rw-r--r-- | src/mapgen_v6.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mapgen_v6.cpp b/src/mapgen_v6.cpp index 5e9219816..8492adfd9 100644 --- a/src/mapgen_v6.cpp +++ b/src/mapgen_v6.cpp @@ -26,7 +26,6 @@ with this program; if not, write to the Free Software Foundation, Inc., //#include "serverobject.h" #include "content_sao.h" #include "nodedef.h" -#include "content_mapnode.h" // For content_mapnode_get_new_name #include "voxelalgorithms.h" //#include "profiler.h" // For TimeTaker #include "settings.h" // For g_settings |