From ff091a66b962badeb8dc3c1e46d8661103dd59bd Mon Sep 17 00:00:00 2001 From: zvon Date: Sat, 30 Jan 2021 23:00:58 +0100 Subject: [PATCH] TETRI: silence a warning in custom_classes --- tetris/custom_classes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tetris/custom_classes.cpp b/tetris/custom_classes.cpp index e8465d7..dae80e6 100644 --- a/tetris/custom_classes.cpp +++ b/tetris/custom_classes.cpp @@ -63,6 +63,7 @@ void TetrisBlock::specialAction( int code ) { switch ( code ) { case PIECE_ACTION_UPDATE_COLOR: setColors(); + // fallthrough case PIECE_ACTION_UPDATE_BLOCK: if ( g_show_3d ) setTexture( "block.png" );