mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Fix tailsbot flying weird with P1=standard P2=simple controls
This commit is contained in:
parent
205b1cc4cd
commit
0577c151ce
1 changed files with 2 additions and 1 deletions
|
|
@ -1181,7 +1181,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
|
||||||
mly = &mlook2y;
|
mly = &mlook2y;
|
||||||
G_CopyTiccmd(cmd, I_BaseTiccmd2(), 1); // empty, or external driver
|
G_CopyTiccmd(cmd, I_BaseTiccmd2(), 1); // empty, or external driver
|
||||||
}
|
}
|
||||||
abilitydirection = cv_abilitydirection[forplayer].value;
|
abilitydirection = cv_abilitydirection[player->bot ? 0 : forplayer].value;
|
||||||
|
|
||||||
strafeisturn = abilitydirection && ticcmd_centerviewdown[forplayer] &&
|
strafeisturn = abilitydirection && ticcmd_centerviewdown[forplayer] &&
|
||||||
((cv_cam_lockedinput[forplayer].value && !ticcmd_ztargetfocus[forplayer]) || (player->pflags & PF_STARTDASH)) &&
|
((cv_cam_lockedinput[forplayer].value && !ticcmd_ztargetfocus[forplayer]) || (player->pflags & PF_STARTDASH)) &&
|
||||||
|
|
@ -1608,6 +1608,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
|
||||||
{
|
{
|
||||||
G_CopyTiccmd(cmd, I_BaseTiccmd2(), 1); // empty, or external driver
|
G_CopyTiccmd(cmd, I_BaseTiccmd2(), 1); // empty, or external driver
|
||||||
B_BuildTiccmd(player, cmd);
|
B_BuildTiccmd(player, cmd);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue