mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
I forgot to do this earlier, welp
This commit is contained in:
parent
224c0fccdb
commit
b2c3a39a2f
1 changed files with 0 additions and 20 deletions
20
src/g_game.c
20
src/g_game.c
|
@ -1551,41 +1551,21 @@ static void Analog2_OnChange(void)
|
|||
|
||||
static void DirectionChar_OnChange(void)
|
||||
{
|
||||
if (cv_directionchar.value)
|
||||
players[consoleplayer].pflags |= PF_DIRECTIONCHAR;
|
||||
else
|
||||
players[consoleplayer].pflags &= ~PF_DIRECTIONCHAR;
|
||||
|
||||
SendWeaponPref();
|
||||
}
|
||||
|
||||
static void DirectionChar2_OnChange(void)
|
||||
{
|
||||
if (cv_directionchar2.value)
|
||||
players[secondarydisplayplayer].pflags |= PF_DIRECTIONCHAR;
|
||||
else
|
||||
players[secondarydisplayplayer].pflags &= ~PF_DIRECTIONCHAR;
|
||||
|
||||
SendWeaponPref2();
|
||||
}
|
||||
|
||||
static void AutoBrake_OnChange(void)
|
||||
{
|
||||
if (cv_autobrake.value)
|
||||
players[consoleplayer].pflags |= PF_AUTOBRAKE;
|
||||
else
|
||||
players[consoleplayer].pflags &= ~PF_AUTOBRAKE;
|
||||
|
||||
SendWeaponPref();
|
||||
}
|
||||
|
||||
static void AutoBrake2_OnChange(void)
|
||||
{
|
||||
if (cv_autobrake2.value)
|
||||
players[secondarydisplayplayer].pflags |= PF_AUTOBRAKE;
|
||||
else
|
||||
players[secondarydisplayplayer].pflags &= ~PF_AUTOBRAKE;
|
||||
|
||||
SendWeaponPref2();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue