mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-07 23:29:54 +03:00
chore(sound): correct return values in SESound::IsPlaying
This commit is contained in:
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user