Fix RC cars detonation button

This commit is contained in:
Sergeanur 2021-02-11 18:03:47 +02:00
parent e4320c02cf
commit 998d88763d

View File

@ -371,7 +371,11 @@ CAutomobile::ProcessControl(void)
bool playerRemote = false; bool playerRemote = false;
switch(GetStatus()){ switch(GetStatus()){
case STATUS_PLAYER_REMOTE: case STATUS_PLAYER_REMOTE:
#ifdef FIX_BUGS
if(CPad::GetPad(0)->CarGunJustDown() && !bDisableRemoteDetonation){
#else
if(CPad::GetPad(0)->WeaponJustDown() && !bDisableRemoteDetonation){ if(CPad::GetPad(0)->WeaponJustDown() && !bDisableRemoteDetonation){
#endif
BlowUpCar(FindPlayerPed()); BlowUpCar(FindPlayerPed());
CRemote::TakeRemoteControlledCarFromPlayer(); CRemote::TakeRemoteControlledCarFromPlayer();
} }