TETRI: silence a warning in custom_classes

This commit is contained in:
zvon 2021-01-30 23:00:58 +01:00
parent a8ff8e49c7
commit ff091a66b9

View File

@ -63,6 +63,7 @@ void TetrisBlock::specialAction( int code ) {
switch ( code ) { switch ( code ) {
case PIECE_ACTION_UPDATE_COLOR: case PIECE_ACTION_UPDATE_COLOR:
setColors(); setColors();
// fallthrough
case PIECE_ACTION_UPDATE_BLOCK: case PIECE_ACTION_UPDATE_BLOCK:
if ( g_show_3d ) if ( g_show_3d )
setTexture( "block.png" ); setTexture( "block.png" );