Initial value of DecayValue might be active.

This commit is contained in:
Bartosz Taudul 2020-05-08 01:48:37 +02:00
parent 211dfd7f7e
commit 5b29e65bc5

View File

@ -10,9 +10,9 @@ template<typename T>
class DecayValue
{
public:
DecayValue( const T& init )
DecayValue( const T& init, bool active = false )
: m_value( init )
, m_active( false )
, m_active( active )
{
}