TETRI: silence a warning in custom_classes
This commit is contained in:
@@ -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" );
|
||||||
|
|||||||
Reference in New Issue
Block a user