mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-16 13:59:39 -04:00
Minor JSystem/Z2Audio fixes (#2650)
This commit is contained in:
@@ -804,8 +804,9 @@ void JASTrack::TList::seqMain() {
|
||||
iterator it, it2;
|
||||
for (it = begin(); it != end(); it = it2) {
|
||||
it2 = it;
|
||||
it2++;
|
||||
if (it->seqMain() < 0) {
|
||||
++it2;
|
||||
int seqMainRes = it->seqMain();
|
||||
if (seqMainRes < 0) {
|
||||
Remove(&*it);
|
||||
if (it->mFlags.autoDelete) {
|
||||
delete &*it;
|
||||
|
||||
Reference in New Issue
Block a user