summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-05-22 11:11:50 +0200
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:43 +0200
commit786e101acff29e07503a4d3c294b613d4a2714b3 (patch)
treea5cf2a6b05190591891cb4cbf913d1fd667c58c1 /src/core/World.cpp
parentFix C3dMarkers::PlaceMarker calls in Radar (diff)
downloadre3-786e101acff29e07503a4d3c294b613d4a2714b3.tar
re3-786e101acff29e07503a4d3c294b613d4a2714b3.tar.gz
re3-786e101acff29e07503a4d3c294b613d4a2714b3.tar.bz2
re3-786e101acff29e07503a4d3c294b613d4a2714b3.tar.lz
re3-786e101acff29e07503a4d3c294b613d4a2714b3.tar.xz
re3-786e101acff29e07503a4d3c294b613d4a2714b3.tar.zst
re3-786e101acff29e07503a4d3c294b613d4a2714b3.zip
Diffstat (limited to 'src/core/World.cpp')
-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 768ed7f9..6e8314f4 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -64,7 +64,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);
@@ -79,7 +79,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);