summary refs log tree commit diff stats
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index acccbc6..d63c208 100644 --- a/src/game.cpp +++ b/src/game.cpp
@@ -668,7 +668,7 @@ void Game::setZoom(size_t zoom)
668 muxer.setMusicLevel(0); 668 muxer.setMusicLevel(0);
669 } else if (zoomLevel < 3) { 669 } else if (zoomLevel < 3) {
670 muxer.setMusicLevel(1); 670 muxer.setMusicLevel(1);
671 } else if (zoomLevel < 5) { 671 } else if (zoomLevel < 4) {
672 muxer.setMusicLevel(2); 672 muxer.setMusicLevel(2);
673 } else if (zoomLevel < 6) { 673 } else if (zoomLevel < 6) {
674 muxer.setMusicLevel(3); 674 muxer.setMusicLevel(3);
@@ -796,6 +796,12 @@ void Game::updatePlaying(size_t frameTime) {
796 796
797 break; 797 break;
798 } 798 }
799
800 case SDLK_m:
801 {
802 muxer.toggleMute();
803 break;
804 }
799 } 805 }
800 } 806 }
801 } 807 }