mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
[TF2] Make tf_scoreboard_mouse_mode 2 activate the mouse cursor only with right-click
As the title says, this makes the tf_scoreboard_mouse_mode 2 command activate the mouse cursor only with right-click, just like in CS2
This commit is contained in:
parent
aea94b32cb
commit
e0fba4ac42
1 changed files with 1 additions and 1 deletions
|
@ -2325,7 +2325,7 @@ int CTFClientScoreBoardDialog::HudElementKeyInput( int down, ButtonCode_t keynum
|
|||
|
||||
if ( tf_scoreboard_mouse_mode.GetInt() == 2 )
|
||||
{
|
||||
if ( !m_bMouseActivated && ( keynum == MOUSE_LEFT || keynum == MOUSE_RIGHT ) )
|
||||
if ( !m_bMouseActivated && ( keynum == MOUSE_RIGHT ) )
|
||||
{
|
||||
m_bMouseActivated = true;
|
||||
InitializeInputScheme();
|
||||
|
|
Loading…
Reference in a new issue