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:
parent
70b5e43403
commit
1fbdbc145c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user