mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fixed #993, tent code cleanups.
This commit is contained in:
@@ -3171,8 +3171,8 @@ bool CStack::isValidTarget(bool allowDead/* = false*/) const /*alive non-turret
|
||||
|
||||
bool CStack::canBeHealed() const
|
||||
{
|
||||
return firstHPleft != MaxHealth()
|
||||
&& alive()
|
||||
return firstHPleft < MaxHealth()
|
||||
&& isValidTarget()
|
||||
&& !hasBonusOfType(Bonus::SIEGE_WEAPON);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user