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:34:32 +0200 |
commit | 5bcdb933a78abb2b9b8d6648d17502240bd9fd29 (patch) | |
tree | df31ee5fefd2ee7716b9ba01cc0062361520a655 /src/core/World.cpp | |
parent | Fix C3dMarkers::PlaceMarker calls in Radar (diff) | |
download | re3-5bcdb933a78abb2b9b8d6648d17502240bd9fd29.tar re3-5bcdb933a78abb2b9b8d6648d17502240bd9fd29.tar.gz re3-5bcdb933a78abb2b9b8d6648d17502240bd9fd29.tar.bz2 re3-5bcdb933a78abb2b9b8d6648d17502240bd9fd29.tar.lz re3-5bcdb933a78abb2b9b8d6648d17502240bd9fd29.tar.xz re3-5bcdb933a78abb2b9b8d6648d17502240bd9fd29.tar.zst re3-5bcdb933a78abb2b9b8d6648d17502240bd9fd29.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp index 1a693c5c..82f03541 100644 --- a/src/core/World.cpp +++ b/src/core/World.cpp @@ -65,7 +65,7 @@ CWorld::Initialise() void CWorld::Add(CEntity *ent) { - if(ent->IsVehicle() || ent->IsPed()) DMAudio.SetEntityStatus(((CPhysical *)ent)->m_audioEntityId, true); + if(ent->IsVehicle() || ent->IsPed()) DMAudio.SetEntityStatus(((CPhysical *)ent)->m_audioEntityId, TRUE); if(ent->bIsBIGBuilding) ms_bigBuildingsList[ent->m_level].InsertItem(ent); @@ -80,7 +80,7 @@ CWorld::Add(CEntity *ent) void CWorld::Remove(CEntity *ent) { - if(ent->IsVehicle() || ent->IsPed()) DMAudio.SetEntityStatus(((CPhysical *)ent)->m_audioEntityId, false); + if(ent->IsVehicle() || ent->IsPed()) DMAudio.SetEntityStatus(((CPhysical *)ent)->m_audioEntityId, FALSE); if(ent->bIsBIGBuilding) ms_bigBuildingsList[ent->m_level].RemoveItem(ent); |