diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-12-25 16:39:49 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-12-25 16:39:49 +0100 |
commit | b8bf3cb790a4c57d2f103e7f26131fc2455fcb13 (patch) | |
tree | 42cbbcca4a732f009e4c17667baa3c95630eecb5 /src/audio/AudioManager.h | |
parent | Fix use of strncmp (diff) | |
download | re3-b8bf3cb790a4c57d2f103e7f26131fc2455fcb13.tar re3-b8bf3cb790a4c57d2f103e7f26131fc2455fcb13.tar.gz re3-b8bf3cb790a4c57d2f103e7f26131fc2455fcb13.tar.bz2 re3-b8bf3cb790a4c57d2f103e7f26131fc2455fcb13.tar.lz re3-b8bf3cb790a4c57d2f103e7f26131fc2455fcb13.tar.xz re3-b8bf3cb790a4c57d2f103e7f26131fc2455fcb13.tar.zst re3-b8bf3cb790a4c57d2f103e7f26131fc2455fcb13.zip |
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r-- | src/audio/AudioManager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index fbabde05..7fdfecc2 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -132,6 +132,13 @@ public: bool m_bDistanceCalculated; float m_fDistance; CPed *m_pPed; + + cPedParams() + { + m_pPed = nil; + m_bDistanceCalculated = false; + m_fDistance = 0.0f; + } }; class cVehicleParams |