mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix GCC class-memaccess warnings (#10239)
This commit is contained in:
parent
aba8c37531
commit
542df11bed
2 changed files with 8 additions and 1 deletions
|
@ -424,7 +424,7 @@ float NoisePerlin3D(NoiseParams *np, float x, float y, float z, s32 seed)
|
|||
|
||||
Noise::Noise(NoiseParams *np_, s32 seed, u32 sx, u32 sy, u32 sz)
|
||||
{
|
||||
memcpy(&np, np_, sizeof(np));
|
||||
np = *np_;
|
||||
this->seed = seed;
|
||||
this->sx = sx;
|
||||
this->sy = sy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue