1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-26 08:41:13 +02:00

Disable AI and Cage of Warlorlds for release (crashes)

This commit is contained in:
Michał W. Urbańczyk 2009-10-01 22:13:11 +00:00
parent 310a6f5828
commit 5073365eb9
2 changed files with 5 additions and 0 deletions

View File

@ -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)

View File

@ -2009,6 +2009,7 @@ void CTownBonus::onHeroVisit (const CGHeroInstance * h) const
switch(town->subID)
{
case 7: //cage of warlords
return;
cb->changePrimSkill (heroID, 1, 1);
iw.components.push_back (Component(Component::PRIM_SKILL, 1, 1, 0));
break;