aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map/Crime.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/map/Crime.hpp')
-rw-r--r--src/openvic-simulation/map/Crime.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/openvic-simulation/map/Crime.hpp b/src/openvic-simulation/map/Crime.hpp
index d0dd844..26f52ab 100644
--- a/src/openvic-simulation/map/Crime.hpp
+++ b/src/openvic-simulation/map/Crime.hpp
@@ -17,15 +17,12 @@ namespace OpenVic {
struct CrimeManager {
private:
- IdentifierRegistry<Crime> crime_modifiers;
+ IdentifierRegistry<Crime> IDENTIFIER_REGISTRY(crime_modifier);
public:
- CrimeManager();
-
bool add_crime_modifier(
std::string_view identifier, ModifierValue&& values, Modifier::icon_t icon, bool default_active
);
- IDENTIFIER_REGISTRY_ACCESSORS(crime_modifier)
bool load_crime_modifiers(ModifierManager const& modifier_manager, ast::NodeCPtr root);
};