mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
Try to fix build
This commit is contained in:
@@ -217,7 +217,7 @@ const CCreature * CGCreature::getCreature() const
|
||||
|
||||
TQuantity CGCreature::getJoiningAmount() const
|
||||
{
|
||||
return std::max(1L, getStackCount(SlotID(0)) * cb->getSettings().getInteger(EGameSettings::CREATURES_JOINING_PERCENTAGE) / 100);
|
||||
return std::max(static_cast<int64_t>(1), getStackCount(SlotID(0)) * cb->getSettings().getInteger(EGameSettings::CREATURES_JOINING_PERCENTAGE) / 100);
|
||||
}
|
||||
|
||||
void CGCreature::pickRandomObject(vstd::RNG & rand)
|
||||
|
Reference in New Issue
Block a user