summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-12-25 16:39:49 +0100
committerSergeanur <s.anureev@yandex.ua>2020-12-25 16:39:49 +0100
commitb8bf3cb790a4c57d2f103e7f26131fc2455fcb13 (patch)
tree42cbbcca4a732f009e4c17667baa3c95630eecb5 /src/audio/AudioManager.h
parentFix use of strncmp (diff)
downloadre3-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.h7
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