Audio track is_playing() bugfix

This commit is contained in:
Nikita Lisitsa 2021-04-20 15:19:00 +03:00
parent eecc054870
commit e1f8958123

View file

@ -132,11 +132,13 @@ namespace psemek::audio
void resume() override void resume() override
{ {
playing = true;
Mix_Resume(channel); Mix_Resume(channel);
} }
void stop() override void stop() override
{ {
playing = false;
Mix_HaltChannel(channel); Mix_HaltChannel(channel);
} }