Skip to content

Commit

Permalink
forgot to print the bool lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
metal-crow committed Mar 20, 2021
1 parent 72d314e commit eeacc6e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions OverhaulDLL/src/InputUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,27 +220,27 @@ void handle_input(XINPUT_GAMEPAD* xold, XINPUT_GAMEPAD* xcurrent, DIJOYSTATE2* d
if (Button::pressed(kbold, kbcurrent, DIK_F1))
{
ModNetworking::allow_connect_with_non_mod_host = !ModNetworking::allow_connect_with_non_mod_host;
ConsoleWrite("Set allow_connect_with_non_mod_host=", ModNetworking::allow_connect_with_non_mod_host);
ConsoleWrite("Set allow_connect_with_non_mod_host=%d", ModNetworking::allow_connect_with_non_mod_host);
}
if (Button::pressed(kbold, kbcurrent, DIK_F2))
{
ModNetworking::allow_connect_with_legacy_mod_host = !ModNetworking::allow_connect_with_legacy_mod_host;
ConsoleWrite("Set allow_connect_with_legacy_mod_host=", ModNetworking::allow_connect_with_legacy_mod_host);
ConsoleWrite("Set allow_connect_with_legacy_mod_host=%d", ModNetworking::allow_connect_with_legacy_mod_host);
}
if (Button::pressed(kbold, kbcurrent, DIK_F3))
{
ModNetworking::allow_connect_with_overhaul_mod_host = !ModNetworking::allow_connect_with_overhaul_mod_host;
ConsoleWrite("Set allow_connect_with_overhaul_mod_host=", ModNetworking::allow_connect_with_overhaul_mod_host);
ConsoleWrite("Set allow_connect_with_overhaul_mod_host=%d", ModNetworking::allow_connect_with_overhaul_mod_host);
}
if (Button::pressed(kbold, kbcurrent, DIK_F4))
{
ModNetworking::allow_connect_with_non_mod_guest = !ModNetworking::allow_connect_with_non_mod_guest;
ConsoleWrite("Set allow_connect_with_non_mod_guest=", ModNetworking::allow_connect_with_non_mod_guest);
ConsoleWrite("Set allow_connect_with_non_mod_guest=%d", ModNetworking::allow_connect_with_non_mod_guest);
}
if (Button::pressed(kbold, kbcurrent, DIK_F5))
{
Mod::prefer_legacy_mode = !Mod::prefer_legacy_mode;
ConsoleWrite("Set legacy_mode=", Mod::prefer_legacy_mode);
ConsoleWrite("Set legacy_mode=%d", Mod::prefer_legacy_mode);
}
}
}
Expand Down

0 comments on commit eeacc6e

Please sign in to comment.