mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix remnants of s32 enable_shaders
This commit is contained in:
parent
1ad9365d34
commit
af490330e7
2 changed files with 3 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue