summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-02-11 17:03:47 +0100
committerSergeanur <s.anureev@yandex.ua>2021-02-11 17:03:47 +0100
commit998d88763d7d711fc7d228e4bf3fdbb7dbb51eac (patch)
tree9a1961e6b3a2be4f36430b13253782f54cf707e1 /src/vehicles/Automobile.cpp
parentEnable BIND_VEHICLE_FIREWEAPON (diff)
downloadre3-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/Automobile.cpp')
-rw-r--r--src/vehicles/Automobile.cpp4
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();
}