mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Let 'w' allow to look with no extra click
This commit is contained in:
@@ -4612,7 +4612,7 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
|
|||||||
if ( ( gpItemPointer == NULL ) &&
|
if ( ( gpItemPointer == NULL ) &&
|
||||||
( ( gsCurInterfacePanel != SM_PANEL ) || ( ButtonList[ iSMPanelButtons[ LOOK_BUTTON ] ]->uiFlags & BUTTON_ENABLED ) ) )
|
( ( gsCurInterfacePanel != SM_PANEL ) || ( ButtonList[ iSMPanelButtons[ LOOK_BUTTON ] ]->uiFlags & BUTTON_ENABLED ) ) )
|
||||||
{
|
{
|
||||||
*puiNewEvent = LC_CHANGE_TO_LOOK;
|
*puiNewEvent = LC_LOOK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user