diff options
author | Kahrl <kahrl@gmx.net> | 2013-09-04 00:16:33 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-09-04 00:16:33 +0200 |
commit | af490330e7f76ba1916c99d90c705a09f68ac00a (patch) | |
tree | a9858226e2180fef5c491af1d48ec2a27677b632 /src | |
parent | 1ad9365d34bbc4af1b712c77692fd027ebd4b586 (diff) | |
download | minetest-af490330e7f76ba1916c99d90c705a09f68ac00a.tar.gz minetest-af490330e7f76ba1916c99d90c705a09f68ac00a.tar.bz2 minetest-af490330e7f76ba1916c99d90c705a09f68ac00a.zip |
Fix remnants of s32 enable_shaders
Diffstat (limited to 'src')
-rw-r--r-- | src/mapblock_mesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapblock_mesh.cpp b/src/mapblock_mesh.cpp index b70b25eab..6cbc2c521 100644 --- a/src/mapblock_mesh.cpp +++ b/src/mapblock_mesh.cpp @@ -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) |