mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
chore(sound): correct return values in SESound::IsPlaying
This commit is contained in:
parent
13ecfda19f
commit
cb669a8019
@ -548,11 +548,11 @@ SEUserData* SESound::GetUserData() {
|
||||
|
||||
bool SESound::IsPlaying() {
|
||||
if (!this->m_internal) {
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!this->m_internal->m_fmodChannel) {
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool isPlaying;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user