* Make every ITask know about the Kernel in which the run.
[matthijs/ABM2.git] / ABM2 / Engine / GlobalTimer.cpp
index 5974a7c7476cdd6a653dca0d01433e91f92aa385..e7b299993b015d1380096cae13d3ce560ea8347b 100755 (executable)
@@ -13,7 +13,7 @@ float CGlobalTimer::dT=0;
 unsigned long CGlobalTimer::lastFrameIndex=0;\r
 unsigned long CGlobalTimer::thisFrameIndex=0;\r
 \r
-CGlobalTimer::CGlobalTimer()\r
+CGlobalTimer::CGlobalTimer(CKernel *kernel) : ITask(kernel)\r
 {\r
 \r
 }\r
@@ -41,4 +41,4 @@ void CGlobalTimer::Update()
 void CGlobalTimer::Stop()\r
 {\r
 \r
-}
\ No newline at end of file
+}\r