diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 12:30:22 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-09-26 12:30:22 +0200 |
commit | b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9 (patch) | |
tree | 84d1bb921722801784283e70667b93b8a7ee4dc1 /src/control | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.gz re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.bz2 re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.lz re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.xz re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.tar.zst re3-b42d9e3e7c1caf6ad06ad81eb34cc27e09bd9bb9.zip |
Diffstat (limited to '')
-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 c9112f81..e1f06c97 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -1886,7 +1886,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; |