diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-02-11 17:03:47 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-02-11 17:03:47 +0100 |
commit | 998d88763d7d711fc7d228e4bf3fdbb7dbb51eac (patch) | |
tree | 9a1961e6b3a2be4f36430b13253782f54cf707e1 /src/vehicles | |
parent | Enable BIND_VEHICLE_FIREWEAPON (diff) | |
download | re3-998d88763d7d711fc7d228e4bf3fdbb7dbb51eac.tar re3-998d88763d7d711fc7d228e4bf3fdbb7dbb51eac.tar.gz re3-998d88763d7d711fc7d228e4bf3fdbb7dbb51eac.tar.bz2 re3-998d88763d7d711fc7d228e4bf3fdbb7dbb51eac.tar.lz re3-998d88763d7d711fc7d228e4bf3fdbb7dbb51eac.tar.xz re3-998d88763d7d711fc7d228e4bf3fdbb7dbb51eac.tar.zst re3-998d88763d7d711fc7d228e4bf3fdbb7dbb51eac.zip |
Diffstat (limited to 'src/vehicles')
-rw-r--r-- | src/vehicles/Automobile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp index cdc500e7..06dc1b54 100644 --- a/src/vehicles/Automobile.cpp +++ b/src/vehicles/Automobile.cpp @@ -371,7 +371,11 @@ CAutomobile::ProcessControl(void) bool playerRemote = false; switch(GetStatus()){ case STATUS_PLAYER_REMOTE: +#ifdef FIX_BUGS + if(CPad::GetPad(0)->CarGunJustDown() && !bDisableRemoteDetonation){ +#else if(CPad::GetPad(0)->WeaponJustDown() && !bDisableRemoteDetonation){ +#endif BlowUpCar(FindPlayerPed()); CRemote::TakeRemoteControlledCarFromPlayer(); } |