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 committed by mckaygerhard
parent 70b5e43403
commit 1fbdbc145c

View File

@ -890,7 +890,7 @@ static void updateFastFaceRow(
v3s16 p_corrected; v3s16 p_corrected;
v3s16 face_dir_corrected; v3s16 face_dir_corrected;
u16 lights[4] = {0, 0, 0, 0}; u16 lights[4] = {0, 0, 0, 0};
u8 waving; u8 waving = 0;
TileSpec tile; TileSpec tile;
getTileInfo(data, p, face_dir, getTileInfo(data, p, face_dir,
makes_face, p_corrected, face_dir_corrected, makes_face, p_corrected, face_dir_corrected,