From c32da52104cc6bbe8ed0bf1ba1a7874f015cb738 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 26 Dec 2010 13:51:56 +0200 Subject: working good --- src/voxel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/voxel.cpp') 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(;;) -- cgit v1.2.3