1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 08:35:20 +02:00

working good

This commit is contained in:
Perttu Ahola
2010-12-26 13:51:56 +02:00
parent 4ba5cd580d
commit c32da52104
8 changed files with 65 additions and 221 deletions

View File

@@ -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(;;)