1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-19 21:10:12 +02:00

Probably fixed , one more fix for spawning wandering monsters.

This commit is contained in:
Michał W. Urbańczyk 2011-05-29 14:06:52 +00:00
parent 7d56db6fb3
commit 47e4c8d6e6
2 changed files with 5 additions and 2 deletions

@ -1329,7 +1329,10 @@ void CPlayerInterface::update()
//in some conditions we may receive calls before selection is initialized - we must ignore them
if(adventureInt && !adventureInt->selection && GH.topInt() == adventureInt)
{
pim->unlock();
return;
}
// Handles mouse and key input
GH.updateTime();

@ -525,8 +525,8 @@ void CStackInstance::setType(const CCreature *c)
}
type = c;
attachTo(const_cast<CCreature*>(type));
if(type)
attachTo(const_cast<CCreature*>(type));
}
std::string CStackInstance::bonusToString(Bonus *bonus, bool description) const
{