Skip to content

Commit

Permalink
Removed debug flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
bXi committed Apr 2, 2024
1 parent 66763b2 commit cbd3fd0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions assettypes/music.h
Original file line number Diff line number Diff line change
Expand Up @@ -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&;
1 change: 0 additions & 1 deletion audio/audiohandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit cbd3fd0

Please sign in to comment.