mirror of
https://github.com/minetest/minetest.git
synced 2025-07-05 01:10:22 +02:00
Meshgen: Handle enable_water_reflections like smooth_lighting
This commit is contained in:
@ -39,7 +39,8 @@ public:
|
||||
MeshMakeData makeSingleNodeMMD(bool smooth_lighting = true)
|
||||
{
|
||||
MeshMakeData data{ndef(), 1};
|
||||
data.setSmoothLighting(smooth_lighting);
|
||||
data.m_smooth_lighting = smooth_lighting;
|
||||
data.m_enable_water_reflections = false;
|
||||
data.m_blockpos = {0, 0, 0};
|
||||
for (s16 x = -1; x <= 1; x++)
|
||||
for (s16 y = -1; y <= 1; y++)
|
||||
|
Reference in New Issue
Block a user