From 3c18dad2f274746bde5a69fb6c905c0914373c9b Mon Sep 17 00:00:00 2001 From: azzy Date: Fri, 8 Mar 2024 11:28:34 +0200 Subject: [PATCH] properly null initialize function pointer callbacks in CFFTimerBase --- mp/src/game/shared/ff/ff_timers_shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mp/src/game/shared/ff/ff_timers_shared.cpp b/mp/src/game/shared/ff/ff_timers_shared.cpp index 5b7974b1..5ceff589 100644 --- a/mp/src/game/shared/ff/ff_timers_shared.cpp +++ b/mp/src/game/shared/ff/ff_timers_shared.cpp @@ -20,7 +20,7 @@ ////////////////////////////////////////////////////////////////////////// CFFTimerBase::CFFTimerBase( std::string strName, const float flDuration ) : m_pfnExpiredCallback(NULL), m_pfnIntervalCallback(NULL), m_flCallbackInterval(0), m_bRemoveWhenExpired(false), -m_flDuration( flDuration ), m_strName( strName ) +m_flDuration( flDuration ), m_strName( strName ), m_pfnHintExpiredCallback( NULL ), m_pfnHintIntervalCallback( NULL ) { }