diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-07-23 19:04:37 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-07-23 19:04:37 +0300 |
commit | 2587bb361cfc96b3a695d1476e39b9c0ecaa6553 (patch) | |
tree | 6e6a35e0ee35883201189df9c545cc44b7a06658 /src/map.cpp | |
parent | 90d793f8f369bf1431d7a915198cd49b98bbe2d7 (diff) | |
parent | 976ec31c1faedc3a34935c3aafd6a868e222d1ad (diff) | |
download | minetest-2587bb361cfc96b3a695d1476e39b9c0ecaa6553.tar.gz minetest-2587bb361cfc96b3a695d1476e39b9c0ecaa6553.tar.bz2 minetest-2587bb361cfc96b3a695d1476e39b9c0ecaa6553.zip |
merged the content type extension and delta
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/map.cpp b/src/map.cpp index dd32e55ba..1c63943c4 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1240,17 +1240,19 @@ void Map::removeNodeAndUpdate(v3s16 p, } /* - Add neighboring liquid nodes to transform queue. + Add neighboring liquid nodes and this node to transform queue. + (it's vital for the node itself to get updated last.) */ - v3s16 dirs[6] = { + v3s16 dirs[7] = { v3s16(0,0,1), // back v3s16(0,1,0), // top v3s16(1,0,0), // right v3s16(0,0,-1), // front v3s16(0,-1,0), // bottom v3s16(-1,0,0), // left + v3s16(0,0,0), // self }; - for(u16 i=0; i<6; i++) + for(u16 i=0; i<7; i++) { try { |