Fix RC cars detonation button

This commit is contained in:
Sergeanur 2021-02-11 18:03:47 +02:00
parent e4320c02cf
commit 998d88763d
1 changed files with 4 additions and 0 deletions

View File

@ -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();
}