mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 20:41:25 +00:00
Merge branch 'tails' into 'next'
Remove misplaced CopyTiccmd from 2phuman (resolves #674) Closes #674 See merge request STJr/SRB2!1627
This commit is contained in:
commit
b868716672
1 changed files with 1 additions and 2 deletions
|
@ -1549,8 +1549,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
|
||||||
// Note: Majority of botstuffs are handled in G_Ticker now.
|
// Note: Majority of botstuffs are handled in G_Ticker now.
|
||||||
if (player->bot == BOT_2PHUMAN) //Player-controlled bot
|
if (player->bot == BOT_2PHUMAN) //Player-controlled bot
|
||||||
{
|
{
|
||||||
G_CopyTiccmd(cmd, I_BaseTiccmd2(), 1); // empty, or external driver
|
// Fix offset angle for P2-controlled Tailsbot when P2's controls are set to non-Strafe
|
||||||
// Fix offset angle for P2-controlled Tailsbot when P2's controls are set to non-Legacy
|
|
||||||
cmd->angleturn = (INT16)((localangle - *myangle) >> 16);
|
cmd->angleturn = (INT16)((localangle - *myangle) >> 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue