aboutsummaryrefslogtreecommitdiff
path: root/src/voxel.cpp
diff options
context:
space:
mode:
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(;;)