mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-12 05:28:43 -04:00
Z2AudioLib debug (#3016)
This commit is contained in:
@@ -120,8 +120,7 @@ void Z2SoundHandles::stopAllSounds(u32 fadeTime) {
|
||||
}
|
||||
|
||||
bool Z2SoundHandles::isActive() const {
|
||||
JSULink<Z2SoundHandlePool>* i;
|
||||
for (i = getFirst(); i != NULL; i = i->getNext()) {
|
||||
for (JSULink<Z2SoundHandlePool>*i = getFirst(); i != NULL; i = i->getNext()) {
|
||||
if (i->getObject()->isSoundAttached()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user