aboutsummaryrefslogtreecommitdiff
path: root/src/openvic/map/Building.cpp
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-07-22 01:18:00 +0200
committer Hop311 <hop3114@gmail.com>2023-07-22 01:18:00 +0200
commit83e61b518788d21283cda481decafee4ee2e252c (patch)
tree4adc383884ad57f404913d5eb4d83da56d354b05 /src/openvic/map/Building.cpp
parent420c2dce47e74c01ff46be991058d543e0c70a6b (diff)
WIP structs for Pop, PopType, and Religion
Diffstat (limited to 'src/openvic/map/Building.cpp')
-rw-r--r--src/openvic/map/Building.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic/map/Building.cpp b/src/openvic/map/Building.cpp
index 317ccdf..07cbac9 100644
--- a/src/openvic/map/Building.cpp
+++ b/src/openvic/map/Building.cpp
@@ -100,11 +100,11 @@ return_t BuildingManager::add_building_type(std::string const& identifier, Build
return FAILURE;
}
if (max_level < 0) {
- Logger::error("Invalid building type max level: ", max_level);
+ Logger::error("Invalid building type max level for ", identifier, ": ", max_level);
return FAILURE;
}
if (build_time < 0) {
- Logger::error("Invalid building type build time: ", build_time);
+ Logger::error("Invalid building type build time for ", identifier, ": ", build_time);
return FAILURE;
}
return building_types.add_item({ identifier, max_level, build_time });