mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Bumped version to 0.73d, restored AI.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user