diff options
| author | Derek Hensley <hensley.derek58@gmail.com> | 2024-05-19 11:02:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-19 11:02:20 -0700 |
| commit | b7e5468ca16315a7e322055eff3d97fe980bbc25 (patch) | |
| tree | c136f3b0b4422fa4480d3e09a0096b6617c71312 /src/code/z_actor.c | |
| parent | a3a7b551eded5bfad7509bd9daeb9fbbb585a958 (diff) | |
General cleanup (#1636)
* totalLoadedActors comparision
* OBJMINE_PARAMS
* Sort z64.h header includes
* MapSelect_LoadConsoleLogo
* Combine notebook tables into 1
* TGSw clean up
Diffstat (limited to 'src/code/z_actor.c')
| -rw-r--r-- | src/code/z_actor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c index 6b5d79ecd..d8a4a8072 100644 --- a/src/code/z_actor.c +++ b/src/code/z_actor.c @@ -3322,7 +3322,7 @@ Actor* Actor_SpawnAsChildAndCutscene(ActorContext* actorCtx, PlayState* play, s1 s32 objectSlot; ActorOverlay* overlayEntry; - if (actorCtx->totalLoadedActors >= 0xFF) { + if (actorCtx->totalLoadedActors >= 255) { return NULL; } |
