diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-23 18:12:20 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-23 18:12:20 +0200 |
commit | 05ddc80ea22cee3c97f274b1d5c3d3d1d5cafdbd (patch) | |
tree | d1b9a842f2d767a0d05b1a23c3a0a4746d2b5e70 /src/vehicles/Vehicle.cpp | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
parent | removed fix that made no sense (diff) | |
download | re3-05ddc80ea22cee3c97f274b1d5c3d3d1d5cafdbd.tar re3-05ddc80ea22cee3c97f274b1d5c3d3d1d5cafdbd.tar.gz re3-05ddc80ea22cee3c97f274b1d5c3d3d1d5cafdbd.tar.bz2 re3-05ddc80ea22cee3c97f274b1d5c3d3d1d5cafdbd.tar.lz re3-05ddc80ea22cee3c97f274b1d5c3d3d1d5cafdbd.tar.xz re3-05ddc80ea22cee3c97f274b1d5c3d3d1d5cafdbd.tar.zst re3-05ddc80ea22cee3c97f274b1d5c3d3d1d5cafdbd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index c09375cc..57c5f3af 100644 --- a/src/vehicles/Vehicle.cpp +++ b/src/vehicles/Vehicle.cpp @@ -1002,21 +1002,15 @@ void DestroyVehicleAndDriverAndPassengers(CVehicle* pVehicle) { if (pVehicle->pDriver) { -#ifndef FIX_BUGS - // this just isn't fair CDarkel::RegisterKillByPlayer(pVehicle->pDriver, WEAPONTYPE_UNIDENTIFIED); -#endif pVehicle->pDriver->FlagToDestroyWhenNextProcessed(); } for (int i = 0; i < pVehicle->m_nNumMaxPassengers; i++) { if (pVehicle->pPassengers[i]) { -#ifndef FIX_BUGS - // this just isn't fair CDarkel::RegisterKillByPlayer(pVehicle->pPassengers[i], WEAPONTYPE_UNIDENTIFIED); -#endif pVehicle->pPassengers[i]->FlagToDestroyWhenNextProcessed(); } } CWorld::Remove(pVehicle); delete pVehicle; -}
\ No newline at end of file +} |