@@ -816,6 +816,10 @@ void CGeniusAI::yourTurn()
static boost::mutex mutex;
boost::mutex::scoped_lock lock(mutex);
m_cb->waitTillRealize = true;
+
+ m_cb->endTurn();
+ return;
static int seed = rand();
srand(seed);
if(m_cb->getDate()==1)
@@ -2009,6 +2009,7 @@ void CTownBonus::onHeroVisit (const CGHeroInstance * h) const
switch(town->subID)
{
case 7: //cage of warlords
cb->changePrimSkill (heroID, 1, 1);
iw.components.push_back (Component(Component::PRIM_SKILL, 1, 1, 0));
break;