mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Loop camera: do not reverse panning direction based on player camera
This commit is contained in:
parent
284af02d11
commit
60473e96d0
1 changed files with 11 additions and 0 deletions
11
src/p_user.c
11
src/p_user.c
|
|
@ -3304,10 +3304,21 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
||||||
|
|
||||||
if (turn > turnspeed)
|
if (turn > turnspeed)
|
||||||
{
|
{
|
||||||
|
// TODO: this code let the panning angle flip
|
||||||
|
// depending on your camera angle when entering
|
||||||
|
// the loop.
|
||||||
|
// It caused just about every loop to look weird
|
||||||
|
// sometimes, since the camera could move
|
||||||
|
// differently than configured.
|
||||||
|
// I don't know if this behavior should ever come
|
||||||
|
// back, but in case it should, I'm leaving this
|
||||||
|
// comment here.
|
||||||
|
#if 0
|
||||||
if (turn < ANGLE_90)
|
if (turn < ANGLE_90)
|
||||||
{
|
{
|
||||||
turnspeed = -(turnspeed);
|
turnspeed = -(turnspeed);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
focusangle += turnspeed;
|
focusangle += turnspeed;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue