]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
disable tiling of textures only if smooth lighting is used
authorPerttu Ahola <celeron55@gmail.com>
Sun, 24 Apr 2011 09:39:33 +0000 (12:39 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 24 Apr 2011 09:39:33 +0000 (12:39 +0300)
src/mapblock.cpp

index 824f7dc8acc901fa67b7324f2b892931dedee0b8..e98ec6e96ef64d92430d00317f78bcd344e28516 100644 (file)
@@ -468,7 +468,12 @@ void updateFastFaceRow(
                                end_of_texture = true;
                }
                
-               end_of_texture = true; //DEBUG
+               // Do this to disable tiling textures
+               //end_of_texture = true; //DEBUG
+               
+               // Disable tiling of textures if smooth lighting is used
+               if(smooth_lighting)
+                       end_of_texture = true;
                
                if(next_is_different || end_of_texture)
                {