summaryrefslogtreecommitdiff
path: root/src/voxel.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-26 13:51:56 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-26 13:51:56 +0200
commitc32da52104cc6bbe8ed0bf1ba1a7874f015cb738 (patch)
tree844e08affaf47d1d03fb0f37eec006ae39b6e8c5 /src/voxel.cpp
parent4ba5cd580d86710b54f4b523db4e8710fb56fdb6 (diff)
downloadminetest-c32da52104cc6bbe8ed0bf1ba1a7874f015cb738.tar.gz
minetest-c32da52104cc6bbe8ed0bf1ba1a7874f015cb738.tar.bz2
minetest-c32da52104cc6bbe8ed0bf1ba1a7874f015cb738.zip
working good
Diffstat (limited to 'src/voxel.cpp')
-rw-r--r--src/voxel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voxel.cpp b/src/voxel.cpp
index 55cd73893..2fd4e7b45 100644
--- a/src/voxel.cpp
+++ b/src/voxel.cpp
@@ -893,7 +893,7 @@ void VoxelManipulator::flowWater(
*/
s32 k = 0;
if(active_nodes.size() != 0)
- k = (s32)rand() % (s32)active_nodes.size();
+ k = (s32)myrand() % (s32)active_nodes.size();
// Flow water to active nodes
for(;;)