mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Version set to 0.8. (not release yet, waiting for a few more fixes)
* fixed possible crash on visiting Obelisk * fixed #394, #391, #395, #373
This commit is contained in:
@@ -418,7 +418,8 @@ void CPlayerInterface::heroManaPointsChanged(const CGHeroInstance * hero)
|
||||
void CPlayerInterface::heroMovePointsChanged(const CGHeroInstance * hero)
|
||||
{
|
||||
boost::unique_lock<boost::recursive_mutex> un(*pim);
|
||||
//adventureInt->heroList.draw();
|
||||
if(makingTurn && hero->tempOwner == playerID)
|
||||
adventureInt->heroList.redraw();
|
||||
}
|
||||
void CPlayerInterface::receivedResource(int type, int val)
|
||||
{
|
||||
@@ -1797,6 +1798,7 @@ void CPlayerInterface::playerBonusChanged( const HeroBonus &bonus, bool gain )
|
||||
void CPlayerInterface::showPuzzleMap()
|
||||
{
|
||||
waitWhileDialog();
|
||||
boost::unique_lock<boost::recursive_mutex> un(*pim);
|
||||
|
||||
//TODO: interface should not know the real position of Grail...
|
||||
float ratio = 0;
|
||||
|
||||
Reference in New Issue
Block a user