Jeck - Fix for issue 126. System didn't reset "I'm using a premade deck" boolean, so would look in the wrong place for decks if profiles were switched after playing with a premade deck.

This commit is contained in:
wagic.jeck
2009-10-22 05:16:14 +00:00
parent 7d9d2907e5
commit 3c84fe3830

View File

@@ -211,6 +211,7 @@ void GameStateDuel::End()
if (mPlayers[0] && mPlayers[1]) mPlayers[0]->End();
GameObserver::EndInstance();
game = NULL;
premadeDeck = false;
for (int i = 0; i < 2; i++){
SAFE_DELETE(mPlayers[i]);