mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-28 00:32:25 +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() {
|
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;
|
||||||
|
|||||||
Reference in new issue
Block a user