mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: client: move input cvars to static allocation
This commit is contained in:
@@ -387,11 +387,11 @@ void IN_EvdevFrame ( void )
|
||||
Key_ClearStates();
|
||||
}
|
||||
|
||||
if( CVAR_TO_BOOL(m_ignore) )
|
||||
if( m_ignore.value )
|
||||
continue;
|
||||
|
||||
evdev.x += -dx * m_yaw->value;
|
||||
evdev.y += dy * m_pitch->value;
|
||||
evdev.x += -dx * m_yaw.value;
|
||||
evdev.y += dy * m_pitch.value;
|
||||
}
|
||||
if( evdev.grabtime <= host.realtime )
|
||||
evdev.grab = false;
|
||||
|
||||
Reference in New Issue
Block a user