mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-04 23:22:36 +00:00
Tweak spectator vertical aiming
- Decrease vertical aiming speed to match turning speed - Reduce software aiming bounds to 45 degrees - (Even) less distortion due to extreme angles
This commit is contained in:
parent
7f89bee3f2
commit
89c503135a
2 changed files with 2 additions and 2 deletions
|
|
@ -261,7 +261,7 @@ class TiccmdBuilder
|
||||||
|
|
||||||
if (G_PlayerInputDown(forplayer(), gc_lookback, 0))
|
if (G_PlayerInputDown(forplayer(), gc_lookback, 0))
|
||||||
{
|
{
|
||||||
cmd->aiming -= joystickvector.yaxis;
|
cmd->aiming -= (joystickvector.yaxis * KART_FULLTURN) / JOYAXISRANGE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -861,7 +861,7 @@ INT16 G_SoftwareClipAimingPitch(INT32 *aiming)
|
||||||
INT32 limitangle;
|
INT32 limitangle;
|
||||||
|
|
||||||
// note: the current software mode implementation doesn't have true perspective
|
// note: the current software mode implementation doesn't have true perspective
|
||||||
limitangle = ANGLE_90 - ANG10; // Some viewing fun, but not too far down...
|
limitangle = ANGLE_45; // Some viewing fun, but not too far down...
|
||||||
|
|
||||||
if (*aiming > limitangle)
|
if (*aiming > limitangle)
|
||||||
*aiming = limitangle;
|
*aiming = limitangle;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue