mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix remnants of s32 enable_shaders
This commit is contained in:
@@ -1294,7 +1294,7 @@ MapBlockMesh::~MapBlockMesh()
|
||||
|
||||
bool MapBlockMesh::animate(bool faraway, float time, int crack, u32 daynight_ratio)
|
||||
{
|
||||
bool enable_shaders = (g_settings->getS32("enable_shaders") > 0);
|
||||
bool enable_shaders = g_settings->getBool("enable_shaders");
|
||||
bool enable_bumpmapping = g_settings->getBool("enable_bumpmapping");
|
||||
|
||||
if(!m_has_animation)
|
||||
|
Reference in New Issue
Block a user