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