summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2026-02-24 03:37:55 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2026-02-24 03:37:55 -0300
commit8ec04cbcc188a9fe863f7e478815d114b0b3d1e4 (patch)
treecb70ec2158046e8af3584cdd6fa1206780afca61 /src
parent1249a85bf2e28bcae1da8de857c0e71951605225 (diff)
ARRAY_COUNT usage
Diffstat (limited to 'src')
-rw-r--r--src/engine/fox_hud.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/fox_hud.c b/src/engine/fox_hud.c
index 161a2052..bbf8de24 100644
--- a/src/engine/fox_hud.c
+++ b/src/engine/fox_hud.c
@@ -2230,7 +2230,7 @@ s32 ActorMissileSeek_ModeCheck(ActorMissileSeekMode mode) {
s32 i;
s32 ret = 0;
- for (i = 0, actor = &gActors[0]; i < 60; i++, actor++) {
+ for (i = 0, actor = &gActors[0]; i < ARRAY_COUNT(gActors); i++, actor++) {
switch (mode) {
case MISSILE_SEEK_TEAMMATES:
if ((actor->obj.status == OBJ_ACTIVE) && (actor->obj.id == OBJ_ACTOR_MISSILE_SEEK_TEAM)) {