diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2025-01-24 21:57:41 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-24 21:57:41 -0700 |
| commit | 557e75b0592da5b33808e138250ba356965dc6f2 (patch) | |
| tree | d5dc5cf1c35e1400af6b6a5c458067e432defc54 /src/code_80057C60.c | |
| parent | bf2dc284d8578b7935bee2b3e32d919ea973824f (diff) | |
Fix camera overflow (#168)
* Fix camera overflow
* Update staff_ghosts.c
* Names and overflow fix
Diffstat (limited to 'src/code_80057C60.c')
| -rw-r--r-- | src/code_80057C60.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/code_80057C60.c b/src/code_80057C60.c index d9807e954..1618bf57f 100644 --- a/src/code_80057C60.c +++ b/src/code_80057C60.c @@ -1246,10 +1246,14 @@ void func_80059AC8(void) { if (gIsGamePaused == false) { func_8008C1D8(&D_80165678); gRaceFrameCounter++; - for (i = 0; i < NUM_PLAYERS; i++) { + for (i = 0; i < gPlayerCount; i++) { D_8018CF68[i] = func_8008A890(&camera1[i]); + } + + for (i = 0; i < NUM_PLAYERS; i++) { func_800892E0(i); } + switch (gScreenModeSelection) { case SCREEN_MODE_1P: if (gGamestate != CREDITS_SEQUENCE) { |
