mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-04-28 12:27:59 +03:00
Correction
Some checks are pending
Some checks are pending
This commit is contained in:
parent
9276fc3b2f
commit
649de5f107
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue