summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
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