Correction
Some checks are pending
GenerateBuilds / generate-port-otr (push) Waiting to run
GenerateBuilds / build-windows (push) Blocked by required conditions
GenerateBuilds / build-macos (push) Blocked by required conditions
GenerateBuilds / build-linux (push) Blocked by required conditions

This commit is contained in:
Sonic Dreamcaster 2025-01-07 05:33:51 -03:00
parent 9276fc3b2f
commit 649de5f107

View File

@ -1922,7 +1922,11 @@ void SectorZ_LoadLevelObjects(void) {
Object_SetInfo(&actor->info, actor->obj.id); Object_SetInfo(&actor->info, actor->obj.id);
actor->itemDrop = DROP_SILVER_RING; actor->itemDrop = DROP_SILVER_RING;
if (j++ >= 59) { #ifdef AVOID_UB
if (j++ >= ARRAY_COUNT(gActors) - 1) {
#else
if (j++ >= ARRAY_COUNT(gActors)) {
#endif
break; break;
} }
actor++; actor++;