1
0
Fork 0
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:
Kahrl 2013-09-04 00:16:33 +02:00
parent 1ad9365d34
commit af490330e7
2 changed files with 3 additions and 5 deletions

View file

@ -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)