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:
parent
310a6f5828
commit
5073365eb9
@ -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
|
||||
return;
|
||||
cb->changePrimSkill (heroID, 1, 1);
|
||||
iw.components.push_back (Component(Component::PRIM_SKILL, 1, 1, 0));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user