]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Account.h
Moved Account::active in Account class. Maybe it should be changed for a method and...
[lugaru.git] / Source / Account.h
index f5b91f1e869cbc2d43566b4d5e7f30c21d6ca54c..f68c52b484e1663437e4e8f0daf1ab32f7b81b73 100644 (file)
@@ -48,9 +48,11 @@ public:
     static Account* add(const std::string& name);
     static Account* get(int i);
     static Account* loadFile(std::string filename);
-    static void saveFile(std::string filename, Account* accountactive);
+    static void saveFile(std::string filename);
     static int indice(Account* a);
 
+    static Account* active;
+
     void endGame();
     void winCampaignLevel(int choice, float score, float time);
     void winLevel(int level, float score, float time);