mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-08-26 05:41:53 +00:00
engine: client: touch: don't reset state if clientonly didn't change
This commit is contained in:
parent
6b4a16b337
commit
f0720026fc
@ -530,6 +530,9 @@ static touch_button_t *Touch_FindFirst( touchbuttonlist_t *list, const char *nam
|
||||
void Touch_SetClientOnly( byte state )
|
||||
{
|
||||
// TODO: fix clash with vgui cursors
|
||||
if( touch.clientonly == state )
|
||||
return;
|
||||
|
||||
touch.clientonly = state;
|
||||
|
||||
touch.resize_finger = touch.move_finger = touch.look_finger = touch.wheel_finger = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user