Skip to content

Commit

Permalink
properly null initialize function pointer callbacks in CFFTimerBase
Browse files Browse the repository at this point in the history
  • Loading branch information
azzyr committed Mar 8, 2024
1 parent 4b3bb4c commit 3c18dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mp/src/game/shared/ff/ff_timers_shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
{
}

Expand Down

0 comments on commit 3c18dad

Please sign in to comment.