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:44:36 +0200
commit1fa0116f5f856b4dbe68bb289443e28ae4012543 (patch)
treefac52d580474b0317e4c7186b89b4696736a3e6d /src/core/World.cpp
parentWait states ported (scripted animations) (diff)
downloadre3-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/core/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index 9ea999dc..9e7a6fc4 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);