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

Fix some compiler warnings (#15596)

This commit is contained in:
Lars Müller 2024-12-26 11:29:00 +01:00 committed by GitHub
parent d2a7875b5b
commit 412cc96bc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 12 additions and 19 deletions

View file

@ -299,8 +299,7 @@ static scene::SMesh *createSpecialNodeMesh(Client *client, MapNode n,
MeshMakeData mesh_make_data(client->ndef(), 1);
MeshCollector collector(v3f(0.0f * BS), v3f());
mesh_make_data.setSmoothLighting(false);
MapblockMeshGenerator gen(&mesh_make_data, &collector,
client->getSceneManager()->getMeshManipulator());
MapblockMeshGenerator gen(&mesh_make_data, &collector);
if (n.getParam2()) {
// keep it