summaryrefslogtreecommitdiff
path: root/src/test.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-12 14:33:13 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-12 14:33:13 +0200
commit47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6 (patch)
tree82a521d57373bd5017e3c036016d39763ef26e66 /src/test.cpp
parentdb49f37692d6a23db3e521736e5adcf285022827 (diff)
downloadminetest-47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6.tar.gz
minetest-47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6.tar.bz2
minetest-47a593b5197393d8f8cdfe18b1aa46b8bc1f3fb6.zip
starting to separate "material" to "content" and "tile"
Diffstat (limited to 'src/test.cpp')
-rw-r--r--src/test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test.cpp b/src/test.cpp
index ebefb8e32..829aec8c1 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -264,11 +264,13 @@ struct TestVoxelManipulator
s16 highest_y = -32768;
assert(v.getWaterPressure(v3s16(7, 1, 1), highest_y, 0) == -1);
assert(highest_y == 3);
+ /*assert(v.getWaterPressure(v3s16(7, 1, 1), highest_y, 0) == 3);
+ //assert(highest_y == 3);*/
active_nodes.clear();
active_nodes[v3s16(9,1,0)] = 1;
//v.flowWater(active_nodes, 0, false);
- v.flowWater(active_nodes, 0, true);
+ v.flowWater(active_nodes, 0, true, 1000);
dstream<<"Final result of flowWater:"<<std::endl;
v.print(dstream, VOXELPRINT_WATERPRESSURE);