mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: client: in_joy: rename -nojoy to -noenginejoy to avoid conflict with client.dll's joystick support
This commit is contained in:
parent
e2540bd446
commit
3e2a215c15
@ -407,7 +407,9 @@ void Joy_Init( void )
|
|||||||
|
|
||||||
joy_enable = Cvar_Get( "joy_enable", "1", FCVAR_ARCHIVE | FCVAR_FILTERABLE, "enable joystick" );
|
joy_enable = Cvar_Get( "joy_enable", "1", FCVAR_ARCHIVE | FCVAR_FILTERABLE, "enable joystick" );
|
||||||
|
|
||||||
if( Sys_CheckParm( "-nojoy" ))
|
// renamed from -nojoy to -noenginejoy to not conflict with
|
||||||
|
// client.dll's joystick support
|
||||||
|
if( Sys_CheckParm( "-noenginejoy" ))
|
||||||
{
|
{
|
||||||
Cvar_FullSet( "joy_enable", "0", FCVAR_READ_ONLY );
|
Cvar_FullSet( "joy_enable", "0", FCVAR_READ_ONLY );
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user