forked from Mirrorlandia_minetest/minetest
Fix a -Wreorder warning
This commit is contained in:
parent
63c378fb5b
commit
6e1c70e02b
@ -37,10 +37,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
MeshMakeData::MeshMakeData(Client *client, bool use_shaders):
|
MeshMakeData::MeshMakeData(Client *client, bool use_shaders):
|
||||||
m_client(client),
|
|
||||||
m_use_shaders(use_shaders),
|
|
||||||
m_mesh_grid(client->getMeshGrid()),
|
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)
|
void MeshMakeData::fillBlockDataBegin(const v3s16 &blockpos)
|
||||||
|
@ -44,7 +44,7 @@ struct MeshMakeData
|
|||||||
v3s16 m_crack_pos_relative = v3s16(-1337,-1337,-1337);
|
v3s16 m_crack_pos_relative = v3s16(-1337,-1337,-1337);
|
||||||
bool m_smooth_lighting = false;
|
bool m_smooth_lighting = false;
|
||||||
MeshGrid m_mesh_grid;
|
MeshGrid m_mesh_grid;
|
||||||
u16 side_length = MAP_BLOCKSIZE;
|
u16 side_length;
|
||||||
|
|
||||||
Client *m_client;
|
Client *m_client;
|
||||||
bool m_use_shaders;
|
bool m_use_shaders;
|
||||||
|
Loading…
Reference in New Issue
Block a user