1
0
Fork 0
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:
Paul Ouellette 2020-08-01 11:25:33 -04:00 committed by GitHub
parent aba8c37531
commit 542df11bed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

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