mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
Update MiscWidgets.cpp
This commit is contained in:
@@ -279,9 +279,9 @@ void BuildArmyStacksUI(const InfoAboutArmy& army, const std::vector<Point>& slot
|
||||
else
|
||||
{
|
||||
//if =0 - we have no information about stack size at all
|
||||
if (slot.second.getCount())
|
||||
if(slot.second.getCount())
|
||||
{
|
||||
if (settings["gameTweaks"]["numericCreaturesQuantities"].Bool())
|
||||
if(settings["gameTweaks"]["numericCreaturesQuantities"].Bool())
|
||||
{
|
||||
subtitle = CCreature::getQuantityRangeStringForId((CCreature::CreatureQuantityId)slot.second.getCount());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user