chore(sound): correct return values in SESound::IsPlaying

This commit is contained in:
fallenoak 2025-11-26 19:38:11 -06:00
parent 13ecfda19f
commit cb669a8019
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D

View File

@ -548,11 +548,11 @@ SEUserData* SESound::GetUserData() {
bool SESound::IsPlaying() { bool SESound::IsPlaying() {
if (!this->m_internal) { if (!this->m_internal) {
return 0; return false;
} }
if (!this->m_internal->m_fmodChannel) { if (!this->m_internal->m_fmodChannel) {
return 0; return false;
} }
bool isPlaying; bool isPlaying;