Silence GCC warning in mapblock_mesh

Fixes following warning:
  warning: ‘waving’ may be used uninitialized in this function [-Wmaybe-uninitialized]
stable-5.2
SmallJoker 2020-05-25 19:10:23 +02:00 committed by Герхард PICCORO Lenz McKAY
parent 876500b1f4
commit aabbcef6ca
1 changed files with 1 additions and 1 deletions

View File

@ -890,7 +890,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;
getTileInfo(data, p, face_dir,
makes_face, p_corrected, face_dir_corrected,