mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 02:12:43 +01:00
- fix tripod camera Y target position on cutscene pause (#116)
This commit is contained in:
parent
bf8421340b
commit
f5925b889a
@ -106,7 +106,8 @@ void CalcCameraBasePos(PLAYER* lp)
|
||||
gte_rtv0tr();
|
||||
gte_stlvnl(basePos);
|
||||
|
||||
basePos[1] -= gCameraOffset.vy;
|
||||
if(gInGameCutsceneActive == 0)
|
||||
basePos[1] -= gCameraOffset.vy;
|
||||
|
||||
baseDir = car_data[lp->cameraCarId].hd.direction;
|
||||
}
|
||||
@ -134,6 +135,7 @@ void InitCamera(PLAYER *lp)
|
||||
|
||||
gCameraAngle = 2048;
|
||||
gCameraMaxDistance = 0;
|
||||
|
||||
gCameraOffset.vx = 0;
|
||||
gCameraOffset.vy = 0;
|
||||
gCameraOffset.vz = 0;
|
||||
|
@ -177,10 +177,6 @@ void HandleInGameCutscene(void)
|
||||
if (CameraCnt < 2)
|
||||
BlackBorderHeight = 28;
|
||||
|
||||
gCameraOffset.vx = 0;
|
||||
gCameraOffset.vy = 0;
|
||||
gCameraOffset.vz = 0;
|
||||
|
||||
if (CutsceneLength-28 < CutsceneFrameCnt)
|
||||
{
|
||||
gSkipInGameCutscene = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user