mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 05:25:01 +03:00
Correction
Some checks are pending
Some checks are pending
This commit is contained in:
parent
9276fc3b2f
commit
649de5f107
@ -1922,7 +1922,11 @@ void SectorZ_LoadLevelObjects(void) {
|
||||
Object_SetInfo(&actor->info, actor->obj.id);
|
||||
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;
|
||||
}
|
||||
actor++;
|
||||
|
Loading…
Reference in New Issue
Block a user