From 866f1c3e1cda05e7a1d7860c99683a1b4f57125b Mon Sep 17 00:00:00 2001 From: "wagic.the.homebrew@gmail.com" Date: Fri, 15 Jan 2010 14:12:57 +0000 Subject: [PATCH] Erwan -fix issue 170 (testsuite + library shuffle) --- .../bin/Res/test/{bugs => manual}/fetchland_shuffle_i170.txt | 0 projects/mtg/src/TestSuiteAI.cpp | 2 ++ 2 files changed, 2 insertions(+) rename projects/mtg/bin/Res/test/{bugs => manual}/fetchland_shuffle_i170.txt (100%) diff --git a/projects/mtg/bin/Res/test/bugs/fetchland_shuffle_i170.txt b/projects/mtg/bin/Res/test/manual/fetchland_shuffle_i170.txt similarity index 100% rename from projects/mtg/bin/Res/test/bugs/fetchland_shuffle_i170.txt rename to projects/mtg/bin/Res/test/manual/fetchland_shuffle_i170.txt diff --git a/projects/mtg/src/TestSuiteAI.cpp b/projects/mtg/src/TestSuiteAI.cpp index 25f5f53b8..d929d5719 100644 --- a/projects/mtg/src/TestSuiteAI.cpp +++ b/projects/mtg/src/TestSuiteAI.cpp @@ -140,7 +140,9 @@ int TestSuiteAI::Act(float dt){ OutputDebugString("TESTSUITE Clicking ON: "); OutputDebugString(card->name.c_str()); OutputDebugString("\n"); + card->currentZone->needShuffle = true; //mimic library shuffle g->cardClick(card,card); + g->forceShuffleLibraries(); //mimic library shuffle } } }else{