diff options
Diffstat (limited to 'extension/src/openvic2/map/Province.hpp')
-rw-r--r-- | extension/src/openvic2/map/Province.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extension/src/openvic2/map/Province.hpp b/extension/src/openvic2/map/Province.hpp index 79c6861..0b7cd4c 100644 --- a/extension/src/openvic2/map/Province.hpp +++ b/extension/src/openvic2/map/Province.hpp @@ -24,7 +24,8 @@ namespace OpenVic2 { Region* region = nullptr; bool water = false; life_rating_t life_rating = 0; - std::vector<Building> buildings; + static const char buildings_name[]; + IdentifierRegistry<Building, buildings_name> buildings; Province(index_t new_index, std::string const& new_identifier, colour_t new_colour); public: |