fix camera bug

This commit is contained in:
Sonic Dreamcaster 2024-11-23 23:04:38 -03:00
parent ab1cc34e70
commit d82a578622

View File

@ -6991,8 +6991,12 @@ void Macbeth_LevelComplete2(Player* player) {
Math_SmoothStepToF(&gCsCamEyeX, player->pos.x - 2000.0f, 0.1f, D_ctx_80177A48[8], 0.0f);
gCsCamEyeZ -= 1.0f;
}
//! @BUG: The following condition is always true:
if ((gCsFrameCount >= 2120) || (gCsFrameCount < 2175)) {
// if ((gCsFrameCount >= 2120) || (gCsFrameCount < 2175)) {
// LTODO: Fixed the bug, maybe have an option for it
if ((gCsFrameCount >= 2120) && (gCsFrameCount < 2175)) {
Math_SmoothStepToF(&gCsCamAtY, player->pos.y + 70.0f, 0.1f, 8.0f, 0.0f);
}
if (gCsFrameCount == 2120) {