1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Fix for random dwellings

This commit is contained in:
nordsoft
2023-09-09 21:17:21 +02:00
parent 7aef40dfb6
commit cc3864a0fa
3 changed files with 18 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ public:
class DLL_LINKAGE CCreGenLeveledInfo : public virtual CSpecObjInfo
{
public:
ui8 minLevel = 0;
ui8 minLevel = 1;
ui8 maxLevel = 7; //minimal and maximal level of creature in dwelling: <1, 7>
void serializeJson(JsonSerializeFormat & handler) override;