]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameInitDispose.cpp
Account active is now stored as an integer to avoid weird loops to find the right id
[lugaru.git] / Source / GameInitDispose.cpp
index 12515eb7cab8442f660cb0e8cb497a1c0d4ca9b3..d1f7b9d5450ed553140db8d78f67667b3802f3c2 100644 (file)
@@ -79,7 +79,7 @@ void Dispose()
     LOGFUNC;
 
     if (Game::endgame == 2) {
-        Account::active->endGame();
+        Account::active().endGame();
         Game::endgame = 0;
     }