mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fix town-related options
This commit is contained in:
parent
105d988624
commit
5f5ba0a54c
@ -48,12 +48,12 @@
|
||||
|
||||
static bool useCompactCreatureBox()
|
||||
{
|
||||
return settings["gameTweaks"]["compactTownCreatureInfo"].isNumber() ? settings["gameTweaks"]["compactTownCreatureInfo"].Bool() : false;
|
||||
return settings["gameTweaks"]["compactTownCreatureInfo"].Bool();
|
||||
}
|
||||
|
||||
static bool useAvailableAmountAsCreatureLabel()
|
||||
{
|
||||
return settings["gameTweaks"]["availableCreaturesAsDwellingLabel"].isNumber() ? settings["gameTweaks"]["availableCreaturesAsDwellingLabel"].Bool() : false;
|
||||
return settings["gameTweaks"]["availableCreaturesAsDwellingLabel"].Bool();
|
||||
}
|
||||
|
||||
CBuildingRect::CBuildingRect(CCastleBuildings * Par, const CGTownInstance * Town, const CStructure * Str)
|
||||
|
Loading…
Reference in New Issue
Block a user