mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Disable all new camera behavior if playstyle is not Simple
This commit is contained in:
parent
0775ddbcf9
commit
d43b34c477
1 changed files with 2 additions and 2 deletions
|
|
@ -1387,7 +1387,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
|
||||||
cmd->angleturn = (INT16)(*myangle >> 16);
|
cmd->angleturn = (INT16)(*myangle >> 16);
|
||||||
|
|
||||||
// Adjust camera angle by player input
|
// Adjust camera angle by player input
|
||||||
if (!forcestrafe && camera.chase && !turnheld[forplayer] && !ticcmd_resetdown[forplayer] && !player->climbing && player->powers[pw_carry] != CR_MINECART)
|
if (abilitydirection && !forcestrafe && camera.chase && !turnheld[forplayer] && !ticcmd_resetdown[forplayer] && !player->climbing && player->powers[pw_carry] != CR_MINECART)
|
||||||
{
|
{
|
||||||
fixed_t camadjustfactor = cv_cam_turnfacinginput[forplayer].value; //@TODO cvar
|
fixed_t camadjustfactor = cv_cam_turnfacinginput[forplayer].value; //@TODO cvar
|
||||||
|
|
||||||
|
|
@ -1413,7 +1413,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
|
||||||
|
|
||||||
// Adjust camera angle to face player direction, depending on circumstances
|
// Adjust camera angle to face player direction, depending on circumstances
|
||||||
// Nothing happens if cam left/right are held, so you can hold both to lock the camera in one direction
|
// Nothing happens if cam left/right are held, so you can hold both to lock the camera in one direction
|
||||||
if (!forcestrafe && camera.chase && !turnheld[forplayer] && !ticcmd_resetdown[forplayer] && player->powers[pw_carry] != CR_MINECART)
|
if (abilitydirection && !forcestrafe && camera.chase && !turnheld[forplayer] && !ticcmd_resetdown[forplayer] && player->powers[pw_carry] != CR_MINECART)
|
||||||
{
|
{
|
||||||
fixed_t camadjustfactor;
|
fixed_t camadjustfactor;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue