summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-25 07:59:32 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-25 07:59:32 +0100
commitde31bdc89fe2b2d191bee7a0c224b35bc0c9612e (patch)
tree677be52372e636035f37c0d18b27f9892228425c /src/control
parentMerge pull request #886 from erorcun/master (diff)
downloadre3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.gz
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.bz2
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.lz
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.xz
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.tar.zst
re3-de31bdc89fe2b2d191bee7a0c224b35bc0c9612e.zip
Diffstat (limited to 'src/control')
-rw-r--r--src/control/Garages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp
index 418195c7..2b79b338 100644
--- a/src/control/Garages.cpp
+++ b/src/control/Garages.cpp
@@ -158,7 +158,7 @@ void CGarages::Init(void)
aCarsInSafeHouse3[i].Init();
hGarages = DMAudio.CreateEntity(AUDIOTYPE_GARAGE, (void*)1);
if (hGarages >= 0)
- DMAudio.SetEntityStatus(hGarages, 1);
+ DMAudio.SetEntityStatus(hGarages, true);
AddOne(
CVector(CRUSHER_GARAGE_X1, CRUSHER_GARAGE_Y1, CRUSHER_GARAGE_Z1),
CVector(CRUSHER_GARAGE_X2, CRUSHER_GARAGE_Y2, CRUSHER_GARAGE_Z2),