mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-17 10:11:12 +00:00
Fix player 2 using player 1 accelerate and brake controls
This commit is contained in:
parent
d6fef7ff29
commit
c224929345
1 changed files with 2 additions and 2 deletions
|
@ -1399,12 +1399,12 @@ void G_BuildTiccmd2(ticcmd_t *cmd, INT32 realtics)
|
|||
*/
|
||||
|
||||
// forward with key or button
|
||||
if (PLAYER1INPUTDOWN(gc_accelerate))
|
||||
if (PLAYER2INPUTDOWN(gc_accelerate))
|
||||
{
|
||||
cmd->buttons |= BT_ACCELERATE;
|
||||
forward = forwardmove[speed];
|
||||
}
|
||||
if (PLAYER1INPUTDOWN(gc_brake))
|
||||
if (PLAYER2INPUTDOWN(gc_brake))
|
||||
{
|
||||
cmd->buttons |= BT_BRAKE;
|
||||
forward -= forwardmove[speed];
|
||||
|
|
Loading…
Reference in a new issue