]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameDraw.cpp
Moved Account::active in Account class. Maybe it should be changed for a method and...
[lugaru.git] / Source / GameDraw.cpp
index 87a982be56e7111cb528c1f4758cb8786ef3f38e..76318a4775c4536f1ebba824e8825c73572e1f93 100644 (file)
@@ -1051,9 +1051,9 @@ int Game::DrawGLScene(StereoSide side)
             if (!tutoriallevel && !winfreeze && !Dialog::inDialog() && !mainmenu) {
                 if (campaign) {
                     if (scoreadded)
-                        sprintf (string, "Score: %d", (int)accountactive->getCampaignScore());
+                        sprintf (string, "Score: %d", (int)Account::active->getCampaignScore());
                     else
-                        sprintf (string, "Score: %d", (int)accountactive->getCampaignScore() + (int)bonustotal);
+                        sprintf (string, "Score: %d", (int)Account::active->getCampaignScore() + (int)bonustotal);
                 }
                 if (!campaign)
                     sprintf (string, "Score: %d", (int)bonustotal);