mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Replaced vstd clamp with std version
This commit is contained in:
@ -249,7 +249,7 @@ void CHealth::heal(int64_t & amount, EHealLevel level, EHealPower power)
|
||||
}
|
||||
|
||||
vstd::amax(maxHeal, 0);
|
||||
vstd::abetween(amount, 0, maxHeal);
|
||||
vstd::abetween(amount, int64_t(0), maxHeal);
|
||||
|
||||
if(amount == 0)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user