some SilentPatch fixes

# Conflicts:
#	src/core/Camera.cpp
#	src/weapons/Weapon.cpp
This commit is contained in:
shfil
2020-09-26 20:11:25 +02:00
committed by Sergeanur
parent f9dc00a458
commit 35d7591def
5 changed files with 39 additions and 2 deletions

View File

@ -1819,7 +1819,13 @@ CVehicle* CStoredCar::RestoreCar()
#ifdef FIX_BUGS
if (pVehicle->IsCar())
#endif
{
((CAutomobile*)pVehicle)->m_bombType = m_nCarBombType;
#ifdef FIX_BUGS
if (m_nCarBombType != CARBOMB_NONE)
((CAutomobile*)pVehicle)->m_pBombRigger = FindPlayerPed();
#endif
}
pVehicle->bHasBeenOwnedByPlayer = true;
pVehicle->m_nDoorLock = CARLOCK_UNLOCKED;
pVehicle->bBulletProof = m_bBulletproof;