DeleteAnyZeroBastards matching

This commit is contained in:
Dethrace Labs 2026-01-26 22:57:37 +13:00
parent 4dc7e9e363
commit 3f3516565c
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 1e3d22b0bee8b649ba0db9bdbe04c1a5eebb2d7f
Subproject commit 243402396af4122a0784be3450d650143e363f4d

View File

@ -1797,7 +1797,7 @@ void DeleteAnyZeroBastards(void) {
gDelete_count = 0;
DRActorEnumRecurseWithTrans(gAdditional_actors, NULL, DeleteBastards, NULL);
for (i = 0; i < gDelete_count; i++) {
for (i = gDelete_count - 1; i >= 0; --i) {
BrActorRemove(gDelete_list[i]);
}
}