diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-30 14:19:55 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-30 14:19:55 +0200 |
commit | 4c582b19eb52904c56cf6a62ffb8655ed1e426e2 (patch) | |
tree | cde4b80f479c84fe4a164fe3daef1309785f17be /src/control | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
parent | Merge remote-tracking branch 'origin/master' into miami (diff) | |
download | re3-4c582b19eb52904c56cf6a62ffb8655ed1e426e2.tar re3-4c582b19eb52904c56cf6a62ffb8655ed1e426e2.tar.gz re3-4c582b19eb52904c56cf6a62ffb8655ed1e426e2.tar.bz2 re3-4c582b19eb52904c56cf6a62ffb8655ed1e426e2.tar.lz re3-4c582b19eb52904c56cf6a62ffb8655ed1e426e2.tar.xz re3-4c582b19eb52904c56cf6a62ffb8655ed1e426e2.tar.zst re3-4c582b19eb52904c56cf6a62ffb8655ed1e426e2.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Garages.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index 9aba431c..290bacad 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -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; |