mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 13:35:11 +03:00
fix camera bug
This commit is contained in:
parent
ab1cc34e70
commit
d82a578622
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user