diff --git a/2040-eight.cpp b/2040-eight.cpp index fd3f42b..30f6658 100644 --- a/2040-eight.cpp +++ b/2040-eight.cpp @@ -733,7 +733,7 @@ void update( uint32_t p_tick ) g_max_cell = g_moves[l_index].end_value; /* Check to see if we've maxxed out, in which case... victory! */ - if ( g_moves[l_index].end_value == 16 ) + if ( g_moves[l_index].end_value == 2048 ) { /* Remember what cell won it. */ g_victory_row = g_moves[l_index].end_row; @@ -845,7 +845,10 @@ void draw( uint32_t p_tick ) if ( g_tune_note < g_tune_note_count ) { /* If we're muted, skip to the end of the tune. */ - g_tune_note = g_tune_note_count; + if ( g_muted ) + { + g_tune_note = g_tune_note_count; + } /* Play the next note if ready. */ if ( !picosystem::audio_playing() ) diff --git a/CMakeLists.txt b/CMakeLists.txt index 07f604b..5e9278e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -30,7 +30,7 @@ picosystem_executable(2040-eight # Set some Pico version info pico_set_program_name(2040-eight "2040-eight") -pico_set_program_version(2040-eight "v0.3") +pico_set_program_version(2040-eight "v0.3.1") #pixel_double(2040-eight) no_spritesheet(2040-eight)