diff --git a/projects/mtg/src/AIPlayer.cpp b/projects/mtg/src/AIPlayer.cpp index 5d485f00e..de9ad08d0 100644 --- a/projects/mtg/src/AIPlayer.cpp +++ b/projects/mtg/src/AIPlayer.cpp @@ -708,13 +708,6 @@ int AIPlayerBaka::Act(float dt){ OutputDebugString("Cannot interrupt\n"); return 0; } - if (!clickstream.empty()){ - AIAction * action = clickstream.front(); - action->Act(); - SAFE_DELETE(action); - clickstream.pop(); - } - if (clickstream.empty()) computeActions(); if (clickstream.empty()){ if (g->isInterrupting == this){ @@ -722,7 +715,16 @@ int AIPlayerBaka::Act(float dt){ }else{ g->userRequestNextGamePhase(); } + } else { + //if (!clickstream.empty()){ + AIAction * action = clickstream.front(); + action->Act(); + SAFE_DELETE(action); + clickstream.pop(); } + + //if (clickstream.empty()) computeActions(); + return 1; }; diff --git a/projects/mtg/src/GameStateDuel.cpp b/projects/mtg/src/GameStateDuel.cpp index a115c409f..b63ef5ea0 100644 --- a/projects/mtg/src/GameStateDuel.cpp +++ b/projects/mtg/src/GameStateDuel.cpp @@ -490,7 +490,7 @@ int GameStateDuel::isDifficultyUnlocked(){ sprintf(aiSmallDeckName, "ai_baka_deck%i",nbAIDecks); int percentVictories = stats->percentVictories(string(aiSmallDeckName)); if (percentVictories >=67) wins++; - if (wins >= 12) return 1; + if (wins >= 10) return 1; } } return 0; diff --git a/projects/mtg/src/GameStateMenu.cpp b/projects/mtg/src/GameStateMenu.cpp index 4a172f80d..e4f289e45 100644 --- a/projects/mtg/src/GameStateMenu.cpp +++ b/projects/mtg/src/GameStateMenu.cpp @@ -5,7 +5,7 @@ #include "../include/GameOptions.h" #include "../include/GameApp.h" -static const char* GAME_VERSION = "WTH?! 0.5.0 - by WilLoW"; +static const char* GAME_VERSION = "WTH?! 0.5.1 - by WilLoW"; #define ALPHA_WARNING 0 #define DEFAULT_ANGLE_MULTIPLIER 0.4 diff --git a/projects/mtg/src/GameStateOptions.cpp b/projects/mtg/src/GameStateOptions.cpp index 38362ddd2..7ac6d576b 100644 --- a/projects/mtg/src/GameStateOptions.cpp +++ b/projects/mtg/src/GameStateOptions.cpp @@ -29,7 +29,7 @@ void GameStateOptions::Start() // WALDORF - added next line optionsList->Add(NEW OptionItem(OPTIONS_INTERRUPT_SECONDS, "Seconds to pause for an Interrupt", 20, 1)); if (GameOptions::GetInstance()->values[OPTIONS_DIFFICULTY_MODE_UNLOCKED].getIntValue()) { - optionsList->Add(NEW OptionItem(OPTIONS_DIFFICULTY, "difficulty", 3, 1)); + optionsList->Add(NEW OptionItem(OPTIONS_DIFFICULTY, "Difficulty", 3, 1)); } JLBFont * mFont = GameApp::CommonRes->GetJLBFont("graphics/f3"); optionsMenu = NEW SimpleMenu(102, this,mFont, 50,170);