- fix a bug where deck unlocks wouldn't be saved (and reset after quitting the game)
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-11-28 05:14:47 +00:00
parent 3253006cb9
commit 36391e271f

View File

@@ -165,6 +165,7 @@ void Credits::compute(Player * _p1, Player * _p2, GameApp * _app)
else if ((unlocked = IsMoreAIDecksUnlocked(stats)))
{
options[Options::AIDECKS_UNLOCKED].number += 10;
options.save();
unlockedTex = resources.RetrieveTexture("ai_unlocked.png");
unlockedQuad = resources.RetrieveQuad("ai_unlocked.png", 2, 2, 396, 96);
}