diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-05-22 12:08:26 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-24 20:44:36 +0200 |
commit | 1fa0116f5f856b4dbe68bb289443e28ae4012543 (patch) | |
tree | fac52d580474b0317e4c7186b89b4696736a3e6d /src/control/Replay.cpp | |
parent | Wait states ported (scripted animations) (diff) | |
download | re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar.gz re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar.bz2 re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar.lz re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar.xz re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.tar.zst re3-1fa0116f5f856b4dbe68bb289443e28ae4012543.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/Replay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Replay.cpp b/src/control/Replay.cpp index 61345785..22347b92 100644 --- a/src/control/Replay.cpp +++ b/src/control/Replay.cpp @@ -1463,7 +1463,7 @@ void CReplay::RestoreStuffFromMem(void) ped->SetModelIndex(mi); ped->m_pVehicleAnim = nil; ped->m_audioEntityId = DMAudio.CreateEntity(AUDIOTYPE_PHYSICAL, ped); - DMAudio.SetEntityStatus(ped->m_audioEntityId, true); + DMAudio.SetEntityStatus(ped->m_audioEntityId, TRUE); CPopulation::UpdatePedCount((ePedType)ped->m_nPedType, false); for (int j = 0; j < TOTAL_WEAPON_SLOTS; j++) { int mi1 = CWeaponInfo::GetWeaponInfo(ped->m_weapons[j].m_eWeaponType)->m_nModelId; @@ -1529,7 +1529,7 @@ void CReplay::RestoreStuffFromMem(void) car->SetDoorDamage(CAR_DOOR_RR, DOOR_REAR_RIGHT, true); } vehicle->m_audioEntityId = DMAudio.CreateEntity(AUDIOTYPE_PHYSICAL, vehicle); - DMAudio.SetEntityStatus(vehicle->m_audioEntityId, true); + DMAudio.SetEntityStatus(vehicle->m_audioEntityId, TRUE); CCarCtrl::UpdateCarCount(vehicle, false); if ((mi == MI_AIRTRAIN || mi == MI_DEADDODO) && vehicle->m_rwObject){ CVehicleModelInfo* info = (CVehicleModelInfo*)CModelInfo::GetModelInfo(mi); |