diff --git a/core/TimerSys.cpp b/core/TimerSys.cpp index 37f13caa..3f4b8065 100644 --- a/core/TimerSys.cpp +++ b/core/TimerSys.cpp @@ -63,6 +63,11 @@ void ITimer::Initialize(ITimedEvent *pCallbacks, float fInterval, float fToExec, m_KillMe = false; } +TimerSystem::TimerSystem() +{ + m_fnTimeLeft = NULL; +} + TimerSystem::~TimerSystem() { CStack::iterator iter; diff --git a/core/TimerSys.h b/core/TimerSys.h index 9dc3ca63..dd8a6379 100644 --- a/core/TimerSys.h +++ b/core/TimerSys.h @@ -62,6 +62,7 @@ class TimerSystem : public SMGlobalClass { public: + TimerSystem(); ~TimerSystem(); public: //SMGlobalClass void OnSourceModAllInitialized();