1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-05 09:25:54 +00:00

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