]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameInitDispose.cpp
convert Game class to namespace
[lugaru.git] / Source / GameInitDispose.cpp
index eb55bb39fb04c548dda355eba633d036fd4bf40c..ba38ecbcadcc2ebb940ea895ac56b4a42ca114a3 100644 (file)
@@ -646,8 +646,8 @@ void Game::InitGame()
 
        int temptexdetail=texdetail;
        texdetail=1;
-       text.LoadFontTexture(":Data:Textures:Font.png");
-       text.BuildFont();
+       text->LoadFontTexture(":Data:Textures:Font.png");
+       text->BuildFont();
        texdetail=temptexdetail;
 
        FadeLoadingScreen(10);
@@ -786,8 +786,8 @@ void Game::LoadStuff()
 
        temptexdetail=texdetail;
        texdetail=1;
-       text.LoadFontTexture(":Data:Textures:Font.png");
-       text.BuildFont();
+       text->LoadFontTexture(":Data:Textures:Font.png");
+       text->BuildFont();
        texdetail=temptexdetail;
 
        numsounds=71;