File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -1495,7 +1495,10 @@ void CVehicleSA::SetHealth(FLOAT fHealth)
1495
1495
auto vehicle = static_cast <CAutomobileSAInterface*>(GetInterface ());
1496
1496
vehicle->m_nHealth = fHealth ;
1497
1497
if (fHealth >= 250 .0f )
1498
+ {
1498
1499
vehicle->m_fBurningTime = 0 .0f ;
1500
+ vehicle->m_delayedExplosionTimer = 0 ;
1501
+ }
1499
1502
}
1500
1503
1501
1504
// SHould be plane funcs
Original file line number Diff line number Diff line change @@ -406,9 +406,19 @@ class CVehicleSAInterface : public CPhysicalSAInterface
406
406
CVehicleSAInterface* m_towingVehicle; // 1220
407
407
CVehicleSAInterface* m_trailerVehicle; // 1224
408
408
409
+ CPedSAInterface* m_bombPlanter; // 1228
410
+ uint32_t m_deleteAfterTime; // 1232
411
+ uint32_t m_lastGunFireTime; // 1236
412
+ uint32_t m_lastBlowUpTime; // 1240
413
+ uint16_t m_policeChaseLeaveCarTimer; // 1244
414
+ uint16_t m_delayedExplosionTimer; // 1246
415
+ void * m_responsibleForDetonation; // 1250
416
+ float m_frontGroundZ; // 1254
417
+ float m_rearGroundZ; // 1258
418
+
409
419
/* ** BEGIN SECTION that was added by us ***/
410
- BYTE Padding200[ 37 ]; // 1228
411
- CVehicle* m_pVehicle; // 1268
420
+ uint8_t _padding1262[ 6 ]; // 1262
421
+ CVehicle* m_pVehicle; // 1268
412
422
/* ** END SECTION that was added by us ***/
413
423
414
424
// 1272
You can’t perform that action at this time.
0 commit comments