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:
parent
4ba5cd580d
commit
c32da52104
8 changed files with 65 additions and 221 deletions
|
@ -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(;;)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue