mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
fixed block unloading from memory (a better fix coming next)
This commit is contained in:
parent
d702a2c33b
commit
3fccc67eb7
8 changed files with 70 additions and 74 deletions
|
@ -1389,7 +1389,7 @@ void make_block(BlockMakeData *data)
|
|||
/*
|
||||
Create a block-specific seed
|
||||
*/
|
||||
u32 blockseed = (data->seed%0x100000000) + full_node_min.Z*38134234
|
||||
u32 blockseed = (u32)(data->seed%0x100000000) + full_node_min.Z*38134234
|
||||
+ full_node_min.Y*42123 + full_node_min.X*23;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue