1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00: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(;;)