Fix RC cars detonation button
This commit is contained in:
1 parent
e4320c02cf
commit
998d88763d
1 file changed
+4
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user