mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Fix tailsbot flying weird with P1=standard P2=simple controls
This commit is contained in:
parent
f4e7227e11
commit
ebbe5938a8
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;
|
||||
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] &&
|
||||
((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
|
||||
B_BuildTiccmd(player, cmd);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue