summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-22 12:08:26 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:34:32 +0200
commit5bcdb933a78abb2b9b8d6648d17502240bd9fd29 (patch)
treedf31ee5fefd2ee7716b9ba01cc0062361520a655 /src/core/World.cpp
parentFix C3dMarkers::PlaceMarker calls in Radar (diff)
downloadre3-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.cpp4
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);