From 2eeb62057a9e08def6a0f013e3ca5d84768d1566 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 10 Apr 2016 23:51:36 -0400 Subject: Hud: Cache hud_scaling, fix minor style issues --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 2a8e02d6e..4ffcec6ba 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -265,7 +265,7 @@ Client::Client( m_cache_smooth_lighting = g_settings->getBool("smooth_lighting"); m_cache_enable_shaders = g_settings->getBool("enable_shaders"); m_cache_use_tangent_vertices = m_cache_enable_shaders && ( - g_settings->getBool("enable_bumpmapping") || + g_settings->getBool("enable_bumpmapping") || g_settings->getBool("enable_parallax_occlusion")); } -- cgit v1.2.3