From a424032ec3306b7b40562caa5c85094459dd2273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Sun, 20 Sep 2009 13:22:47 +0000 Subject: [PATCH] Bumped version to 0.73d, restored AI. --- AI/GeniusAI/CGeniusAI.cpp | 2 +- global.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AI/GeniusAI/CGeniusAI.cpp b/AI/GeniusAI/CGeniusAI.cpp index fb86da331..08706ed26 100644 --- a/AI/GeniusAI/CGeniusAI.cpp +++ b/AI/GeniusAI/CGeniusAI.cpp @@ -816,7 +816,6 @@ void CGeniusAI::yourTurn() static boost::mutex mutex; boost::mutex::scoped_lock lock(mutex); m_cb->waitTillRealize = true; - m_cb->endTurn(); static int seed = rand(); srand(seed); if(m_cb->getDate()==1) @@ -844,6 +843,7 @@ void CGeniusAI::yourTurn() objective->fulfill(*this,trueGameState); seed = rand(); + m_cb->endTurn(); m_cb->waitTillRealize = false; } diff --git a/global.h b/global.h index 9a7ff3910..b90ec7b09 100644 --- a/global.h +++ b/global.h @@ -20,7 +20,7 @@ typedef boost::int8_t si8; //signed int 8 bits (1 byte) #define THC #endif -#define NAME_VER ("VCMI 0.73c") +#define NAME_VER ("VCMI 0.73d") extern std::string NAME; //full name extern std::string NAME_AFFIX; //client / server #define CONSOLE_LOGGING_LEVEL 5