summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-25 19:22:43 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-25 19:22:43 +0100
commit2b96be0418ba60fd2a17d3e03b2cb8b1c906ed24 (patch)
tree2195bab87fc3058296a09c0cf35e3c37127b7525 /src/audio/AudioManager.h
parentUse intensity in ProcessBoatEngine (diff)
downloadre3-2b96be0418ba60fd2a17d3e03b2cb8b1c906ed24.tar
re3-2b96be0418ba60fd2a17d3e03b2cb8b1c906ed24.tar.gz
re3-2b96be0418ba60fd2a17d3e03b2cb8b1c906ed24.tar.bz2
re3-2b96be0418ba60fd2a17d3e03b2cb8b1c906ed24.tar.lz
re3-2b96be0418ba60fd2a17d3e03b2cb8b1c906ed24.tar.xz
re3-2b96be0418ba60fd2a17d3e03b2cb8b1c906ed24.tar.zst
re3-2b96be0418ba60fd2a17d3e03b2cb8b1c906ed24.zip
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r--src/audio/AudioManager.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 7fdfecc2..e3d91876 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -150,6 +150,16 @@ public:
cTransmission *m_pTransmission;
int32 m_nIndex;
float m_fVelocityChange;
+
+ cVehicleParams()
+ {
+ m_bDistanceCalculated = false;
+ m_fDistance = 0.0f;
+ m_pVehicle = 0;
+ m_pTransmission = nil;
+ m_nIndex = 0;
+ m_fVelocityChange = 0.0f;
+ }
};
VALIDATE_SIZE(cVehicleParams, 0x18);