mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
Ducking, shooting vehicle occupants and weapon fixes
This commit is contained in:
1 parent
e9e533b0cb
commit
0625954bb7
11 files changed
+240
-94
No files matched your search
@@ -2336,6 +2336,14 @@ bool CPad::TargetJustDown(void)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CPad::DuckJustDown(void)
|
||||
{
|
||||
if (ArePlayerControlsDisabled())
|
||||
return false;
|
||||
|
||||
return !!(NewState.LeftShock && !OldState.LeftShock);
|
||||
}
|
||||
|
||||
bool CPad::JumpJustDown(void)
|
||||
{
|
||||
if ( ArePlayerControlsDisabled() )
|
||||
|
||||
Reference in new issue
Block a user