aboutsummaryrefslogtreecommitdiff
path: root/src/control/Garages.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-25 08:59:32 +0200
committerSergeanur <s.anureev@yandex.ua>2020-12-25 08:59:32 +0200
commitde31bdc89fe2b2d191bee7a0c224b35bc0c9612e (patch)
tree677be52372e636035f37c0d18b27f9892228425c /src/control/Garages.cpp
parentf9cbe29c5036d647d4ed882badd67092b5ee7331 (diff)
Small type use fixes
Diffstat (limited to 'src/control/Garages.cpp')
-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),