mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
* blocked map scrolling where dialog window is opened
* it's possible in battles to check remeaining HP of neutral stacks * function in CGameInterface called when spell is casted. Support for the Magic Arrow from engine side. * heroes can regain mana * support for mistycisim and intelligence skills * fixed leak with creating frameratekeeper every turn * minor improvements
This commit is contained in:
@ -1710,8 +1710,8 @@ void CBattleHex::clickRight(boost::logic::tribool down)
|
||||
pom->defenseBonus = h->primSkills[1];
|
||||
pom->luck = h->getCurrentLuck();
|
||||
pom->morale = h->getCurrentMorale();
|
||||
pom->currentHealth = myst.firstHPleft;
|
||||
}
|
||||
pom->currentHealth = myst.firstHPleft;
|
||||
(new CCreInfoWindow(myst.creature->idNumber,0,myst.amount,pom,boost::function<void()>(),boost::function<void()>(),NULL))
|
||||
->activate();
|
||||
}
|
||||
|
Reference in New Issue
Block a user