mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-27 14:17:59 +03:00
Also suppress attack3 in vgui screen mode
This commit is contained in:
parent
e304b1a90e
commit
146df3c961
@ -1146,7 +1146,8 @@ void C_BasePlayer::DetermineVguiInputMode( CUserCmd *pCmd )
|
||||
// Kill all attack inputs if we're in vgui screen mode
|
||||
pCmd->buttons &= ~(IN_ATTACK | IN_ATTACK2);
|
||||
#ifdef MAPBASE
|
||||
pCmd->buttons = (pCmd->buttons & ~IN_USE) | IN_VGUIMODE;
|
||||
pCmd->buttons &= ~(IN_USE | IN_ATTACK3);
|
||||
pCmd->buttons |= IN_VGUIMODE;
|
||||
#endif // MAPBASE
|
||||
return;
|
||||
}
|
||||
@ -1213,7 +1214,8 @@ void C_BasePlayer::DetermineVguiInputMode( CUserCmd *pCmd )
|
||||
// Kill all attack inputs if we're in vgui screen mode
|
||||
pCmd->buttons &= ~(IN_ATTACK | IN_ATTACK2);
|
||||
#ifdef MAPBASE
|
||||
pCmd->buttons = (pCmd->buttons & ~IN_USE) | IN_VGUIMODE;
|
||||
pCmd->buttons &= ~(IN_USE | IN_ATTACK3);
|
||||
pCmd->buttons |= IN_VGUIMODE;
|
||||
#endif // MAPBASE
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user