diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-13 10:57:55 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:40 +0200 |
commit | 64996422c00ddb70cfc8aee7da7b62485b8b0416 (patch) | |
tree | fdaa59ba3c52069f8935cf5d8d1cd63752edb149 /src/map.cpp | |
parent | f8c9b703798873c6e958560341105069dca8f86c (diff) | |
download | minetest-64996422c00ddb70cfc8aee7da7b62485b8b0416.tar.gz minetest-64996422c00ddb70cfc8aee7da7b62485b8b0416.tar.bz2 minetest-64996422c00ddb70cfc8aee7da7b62485b8b0416.zip |
Move ContentFeatures to mapnode_contentfeatures.{h,cpp} and clean stuff
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index f2ac3f618..858c08b63 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -37,6 +37,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "settings.h" #include "log.h" #include "profiler.h" +#include "mapnode_contentfeatures.h" #define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")" @@ -1773,7 +1774,7 @@ void Map::transformLiquids(core::map<v3s16, MapBlock*> & modified_blocks) /* update the current node */ - bool flow_down_enabled = (flowing_down && ((n0.param2 & LIQUID_FLOW_DOWN_MASK) != LIQUID_FLOW_DOWN_MASK)); + //bool flow_down_enabled = (flowing_down && ((n0.param2 & LIQUID_FLOW_DOWN_MASK) != LIQUID_FLOW_DOWN_MASK)); if (content_features(new_node_content).liquid_type == LIQUID_FLOWING) { // set level to last 3 bits, flowing down bit to 4th bit n0.param2 = (flowing_down ? LIQUID_FLOW_DOWN_MASK : 0x00) | (new_node_level & LIQUID_LEVEL_MASK); |