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