1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02: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
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)