* Make every ITask know about the Kernel in which the run.
[matthijs/ABM2.git] / ABM2 / Engine / VideoUpdate.cpp
index 1d66b9cc39461de4c26f38eaee734301ffd11aaa..bdbe563878bd7d7f8919dd73095dd1b834b8502f 100755 (executable)
@@ -24,7 +24,7 @@ int CVideoUpdate::scrWidth=640;
 int CVideoUpdate::scrHeight=480;\r
 int CVideoUpdate::scrBPP=16;\r
 \r
-CVideoUpdate::CVideoUpdate()\r
+CVideoUpdate::CVideoUpdate(CKernel* kernel) : ITask(kernel)\r
 {\r
        assert(screenWidth && screenHeight && screenBPP);\r
        this->g = new Graphics(scrWidth, scrHeight, 16, false);\r