X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2FABM2.git;a=blobdiff_plain;f=ABM2%2Fmain.cpp;fp=ABM2%2Fmain.cpp;h=5e1a52ac19125ccf5f86576fbdae4a52557badd5;hp=e325647b86402a4ca002bcbea96218abba118c16;hb=5bb865575bdc27859da689b5a53f3b3b65eebd04;hpb=c873a192c271934bf6202ff40278b9c9429e8c22 diff --git a/ABM2/main.cpp b/ABM2/main.cpp index e325647..5e1a52a 100755 --- a/ABM2/main.cpp +++ b/ABM2/main.cpp @@ -174,7 +174,7 @@ void CApplication::Run(int argc, char *argv[]) CSpriteManager *sm = new CSpriteManager(videoTask->getGraphics(), defaultSprites); CKernel::GetSingleton().setSpriteManager(sm); - Playground game; + Playground game(&CKernel::GetSingleton()); game.priority=100; CKernel::GetSingleton().AddTask(CMMPointer(&game));