diff --git a/config/spells/ability.json b/config/spells/ability.json index 6c8cf17ea..7595cdc6b 100644 --- a/config/spells/ability.json +++ b/config/spells/ability.json @@ -35,7 +35,7 @@ "duration" : [ "UNITL_BEING_ATTACKED", "N_TURNS" - ]} + ] } } } diff --git a/lib/mapObjects/ObjectTemplate.cpp b/lib/mapObjects/ObjectTemplate.cpp index 9c9e9b37e..450c66249 100644 --- a/lib/mapObjects/ObjectTemplate.cpp +++ b/lib/mapObjects/ObjectTemplate.cpp @@ -262,7 +262,7 @@ ui32 ObjectTemplate::getWidth() const ui32 ret = 0; for (auto row : usedTiles) { - ret = std::max(ret, row.size()); + ret = std::max(ret, row.size()); } return ret; }