1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-23 17:45:28 +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;
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();
}