Merged CiaranG's fence graphic updates (ugh, well, it worked, i guess, kind of.)...
[oweals/minetest.git] / src / mapblock.cpp
index 7adb8c2dfce9e3470d41908cf3ad219f9330844e..e31596b9c2b85c86185fba7e487e290cc1c243f8 100644 (file)
@@ -540,10 +540,10 @@ void updateFastFaceRow(
                
                v3s16 p_next;
                
-               bool next_makes_face;
+               bool next_makes_face = false;
                v3s16 next_p_corrected;
                v3s16 next_face_dir_corrected;
-               u8 next_lights[4];
+               u8 next_lights[4] = {0,0,0,0};
                TileSpec next_tile;
                
                // If at last position, there is nothing to compare to and