Silence GCC warning in mapblock_mesh

Fixes following warning:
  warning: ‘waving’ may be used uninitialized in this function [-Wmaybe-uninitialized]
This commit is contained in:
SmallJoker 2020-05-25 19:10:23 +02:00
parent 212a1123e0
commit 5311a27523
1 changed files with 1 additions and 1 deletions

View File

@ -888,7 +888,7 @@ static void updateFastFaceRow(
v3s16 p_corrected;
v3s16 face_dir_corrected;
u16 lights[4] = {0, 0, 0, 0};
u8 waving;
u8 waving = 0;
TileSpec tile;
// Get info of first tile