From cbd3fd0f6d350c6b2cc58ad0374bb66d600c32cd Mon Sep 17 00:00:00 2001 From: Dennis Meinen Date: Tue, 2 Apr 2024 21:20:10 +0200 Subject: [PATCH] Removed debug flag. --- assettypes/music.h | 2 -- audio/audiohandler.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/assettypes/music.h b/assettypes/music.h index 200f133..bd865d1 100644 --- a/assettypes/music.h +++ b/assettypes/music.h @@ -11,8 +11,6 @@ struct MusicAsset { bool shouldPlay = false; /**< Flag indicating whether the music should play. */ bool started = false; /**< Flag indicating whether the music playback has started. */ - - bool isSame = false; }; using Music = MusicAsset&; \ No newline at end of file diff --git a/audio/audiohandler.cpp b/audio/audiohandler.cpp index d95c17c..0750eca 100644 --- a/audio/audiohandler.cpp +++ b/audio/audiohandler.cpp @@ -56,7 +56,6 @@ bool Audio::_isMusicPlaying() { } void Audio::_playMusic(Music &music) { -music.isSame = true; music.shouldPlay = true; if (!music.started) { if (ma_sound_is_playing(music.music)) {