1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix a -Wreorder warning

This commit is contained in:
DS 2023-02-22 11:06:48 +01:00 committed by GitHub
parent 63c378fb5b
commit 6e1c70e02b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -37,10 +37,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
*/
MeshMakeData::MeshMakeData(Client *client, bool use_shaders):
m_client(client),
m_use_shaders(use_shaders),
m_mesh_grid(client->getMeshGrid()),
side_length(MAP_BLOCKSIZE * m_mesh_grid.cell_size)
side_length(MAP_BLOCKSIZE * m_mesh_grid.cell_size),
m_client(client),
m_use_shaders(use_shaders)
{}
void MeshMakeData::fillBlockDataBegin(const v3s16 &blockpos)