]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameInitDispose.cpp
Stopped using Account pointers, and removed general difficulty setting (difficulty...
[lugaru.git] / Source / GameInitDispose.cpp
index 12515eb7cab8442f660cb0e8cb497a1c0d4ca9b3..c070d293872a430e7b922908e5adb8cedcec805e 100644 (file)
@@ -57,7 +57,6 @@ extern float flashamount, flashr, flashg, flashb;
 extern int flashdelay;
 extern int whichjointstartarray[26];
 extern int whichjointendarray[26];
-extern int difficulty;
 extern float slomospeed;
 extern bool gamestarted;
 
@@ -79,7 +78,7 @@ void Dispose()
     LOGFUNC;
 
     if (Game::endgame == 2) {
-        Account::active->endGame();
+        Account::active().endGame();
         Game::endgame = 0;
     }